home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1998-10-28 | 52.3 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
100%
| file
| Emacs/XEmacs v19 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Emacs/XEmacs byte-compiled Lisp (generic)
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 72 6d 73 40 70 73 69 |piled by| rms@psi|
|00000020| 6c 6f 63 69 6e 2e 67 6e | 75 2e 61 69 2e 6d 69 74 |locin.gn|u.ai.mit|
|00000030| 2e 65 64 75 20 6f 6e 20 | 54 68 75 20 41 75 67 20 |.edu on |Thu Aug |
|00000040| 20 31 20 31 38 3a 33 36 | 3a 34 37 20 31 39 39 36 | 1 18:36|:47 1996|
|00000050| 0a 3b 3b 3b 20 66 72 6f | 6d 20 66 69 6c 65 20 2f |.;;; fro|m file /|
|00000060| 68 6f 6d 65 2f 66 73 66 | 2f 72 6d 73 2f 65 31 39 |home/fsf|/rms/e19|
|00000070| 2f 6c 69 73 70 2f 63 6f | 6d 69 6e 74 2e 65 6c 0a |/lisp/co|mint.el.|
|00000080| 3b 3b 3b 20 65 6d 61 63 | 73 20 76 65 72 73 69 6f |;;; emac|s versio|
|00000090| 6e 20 31 39 2e 33 31 2e | 39 37 2e 34 2e 0a 3b 3b |n 19.31.|97.4..;;|
|000000a0| 3b 20 62 79 74 65 63 6f | 6d 70 20 76 65 72 73 69 |; byteco|mp versi|
|000000b0| 6f 6e 20 46 53 46 20 32 | 2e 31 30 0a 3b 3b 3b 20 |on FSF 2|.10.;;; |
|000000c0| 6f 70 74 69 6d 69 7a 61 | 74 69 6f 6e 20 69 73 20 |optimiza|tion is |
|000000d0| 6f 6e 2e 0a 3b 3b 3b 20 | 74 68 69 73 20 66 69 6c |on..;;; |this fil|
|000000e0| 65 20 75 73 65 73 20 6f | 70 63 6f 64 65 73 20 77 |e uses o|pcodes w|
|000000f0| 68 69 63 68 20 64 6f 20 | 6e 6f 74 20 65 78 69 73 |hich do |not exis|
|00000100| 74 20 69 6e 20 45 6d 61 | 63 73 20 31 38 2e 0a 0a |t in Ema|cs 18...|
|00000110| 28 69 66 20 28 61 6e 64 | 20 28 62 6f 75 6e 64 70 |(if (and| (boundp|
|00000120| 20 27 65 6d 61 63 73 2d | 76 65 72 73 69 6f 6e 29 | 'emacs-|version)|
|00000130| 0a 09 20 28 6f 72 20 28 | 61 6e 64 20 28 62 6f 75 |.. (or (|and (bou|
|00000140| 6e 64 70 20 27 65 70 6f | 63 68 3a 3a 76 65 72 73 |ndp 'epo|ch::vers|
|00000150| 69 6f 6e 29 20 65 70 6f | 63 68 3a 3a 76 65 72 73 |ion) epo|ch::vers|
|00000160| 69 6f 6e 29 0a 09 20 20 | 20 20 20 28 73 74 72 69 |ion).. | (stri|
|00000170| 6e 67 2d 6c 65 73 73 70 | 20 65 6d 61 63 73 2d 76 |ng-lessp| emacs-v|
|00000180| 65 72 73 69 6f 6e 20 22 | 31 39 2e 32 39 22 29 29 |ersion "|19.29"))|
|00000190| 29 0a 20 20 20 20 28 65 | 72 72 6f 72 20 22 60 63 |). (e|rror "`c|
|000001a0| 6f 6d 69 6e 74 2e 65 6c | 27 20 77 61 73 20 63 6f |omint.el|' was co|
|000001b0| 6d 70 69 6c 65 64 20 66 | 6f 72 20 45 6d 61 63 73 |mpiled f|or Emacs|
|000001c0| 20 31 39 2e 32 39 20 6f | 72 20 6c 61 74 65 72 22 | 19.29 o|r later"|
|000001d0| 29 29 0a 0a 0a 28 72 65 | 71 75 69 72 65 20 28 71 |))...(re|quire (q|
|000001e0| 75 6f 74 65 20 72 69 6e | 67 29 29 0a 23 40 33 37 |uote rin|g)).#@37|
|000001f0| 31 20 52 65 67 65 78 70 | 20 74 6f 20 72 65 63 6f |1 Regexp| to reco|
|00000200| 67 6e 69 73 65 20 70 72 | 6f 6d 70 74 73 20 69 6e |gnise pr|ompts in|
|00000210| 20 74 68 65 20 69 6e 66 | 65 72 69 6f 72 20 70 72 | the inf|erior pr|
|00000220| 6f 63 65 73 73 2e 0a 44 | 65 66 61 75 6c 74 73 20 |ocess..D|efaults |
|00000230| 74 6f 20 22 5e 22 2c 20 | 74 68 65 20 6e 75 6c 6c |to "^", |the null|
|00000240| 20 73 74 72 69 6e 67 20 | 61 74 20 42 4f 4c 2e 0a | string |at BOL..|
|00000250| 0a 47 6f 6f 64 20 63 68 | 6f 69 63 65 73 3a 0a 20 |.Good ch|oices:. |
|00000260| 20 43 61 6e 6f 6e 69 63 | 61 6c 20 4c 69 73 70 3a | Canonic|al Lisp:|
|00000270| 20 22 5e 5b 5e 3e 20 5c | 6e 5d 2a 3e 2b 3a 3f 20 | "^[^> \|n]*>+:? |
|00000280| 2a 22 20 28 4c 75 63 69 | 64 2c 20 66 72 61 6e 7a |*" (Luci|d, franz|
|00000290| 2c 20 6b 63 6c 2c 20 54 | 2c 20 63 73 63 68 65 6d |, kcl, T|, cschem|
|000002a0| 65 2c 20 6f 61 6b 6c 69 | 73 70 29 0a 20 20 4c 75 |e, oakli|sp). Lu|
|000002b0| 63 69 64 20 43 6f 6d 6d | 6f 6e 20 4c 69 73 70 3a |cid Comm|on Lisp:|
|000002c0| 20 22 5e 5c 5c 28 3e 5c | 5c 7c 5c 5c 28 2d 3e 5c | "^\\(>\|\|\\(->\|
|000002d0| 5c 29 2b 5c 5c 29 20 2a | 22 0a 20 20 66 72 61 6e |\)+\\) *|". fran|
|000002e0| 7a 3a 20 22 5e 5c 5c 28 | 2d 3e 5c 5c 7c 3c 5b 30 |z: "^\\(|->\\|<[0|
|000002f0| 2d 39 5d 2a 3e 3a 5c 5c | 29 20 2a 22 0a 20 20 6b |-9]*>:\\|) *". k|
|00000300| 63 6c 3a 20 22 5e 3e 2b | 20 2a 22 0a 20 20 73 68 |cl: "^>+| *". sh|
|00000310| 65 6c 6c 3a 20 22 5e 5b | 5e 23 24 25 3e 5c 6e 5d |ell: "^[|^#$%>\n]|
|00000320| 2a 5b 23 24 25 3e 5d 20 | 2a 22 0a 20 20 54 3a 20 |*[#$%>] |*". T: |
|00000330| 22 5e 3e 2b 20 2a 22 0a | 0a 54 68 69 73 20 69 73 |"^>+ *".|.This is|
|00000340| 20 61 20 67 6f 6f 64 20 | 74 68 69 6e 67 20 74 6f | a good |thing to|
|00000350| 20 73 65 74 20 69 6e 20 | 6d 6f 64 65 20 68 6f 6f | set in |mode hoo|
|00000360| 6b 73 2e 1f 0a 28 64 65 | 66 76 61 72 20 63 6f 6d |ks...(de|fvar com|
|00000370| 69 6e 74 2d 70 72 6f 6d | 70 74 2d 72 65 67 65 78 |int-prom|pt-regex|
|00000380| 70 20 22 5e 22 20 28 23 | 24 20 2e 20 34 39 38 29 |p "^" (#|$ . 498)|
|00000390| 29 0a 23 40 33 38 32 20 | 4c 69 73 74 20 6f 66 20 |).#@382 |List of |
|000003a0| 63 68 61 72 61 63 74 65 | 72 73 20 74 6f 20 72 65 |characte|rs to re|
|000003b0| 63 6f 67 6e 69 73 65 20 | 61 73 20 73 65 70 61 72 |cognise |as separ|
|000003c0| 61 74 65 20 61 72 67 75 | 6d 65 6e 74 73 20 69 6e |ate argu|ments in|
|000003d0| 20 69 6e 70 75 74 2e 0a | 53 74 72 69 6e 67 73 20 | input..|Strings |
|000003e0| 63 6f 6d 70 72 69 73 69 | 6e 67 20 61 20 63 68 61 |comprisi|ng a cha|
|000003f0| 72 61 63 74 65 72 20 69 | 6e 20 74 68 69 73 20 6c |racter i|n this l|
|00000400| 69 73 74 20 77 69 6c 6c | 20 73 65 70 61 72 61 74 |ist will| separat|
|00000410| 65 20 74 68 65 20 61 72 | 67 75 6d 65 6e 74 73 0a |e the ar|guments.|
|00000420| 73 75 72 72 6f 75 6e 64 | 69 6e 67 20 74 68 65 6d |surround|ing them|
|00000430| 2c 20 61 6e 64 20 61 6c | 73 6f 20 62 65 20 72 65 |, and al|so be re|
|00000440| 67 61 72 64 65 64 20 61 | 73 20 61 72 67 75 6d 65 |garded a|s argume|
|00000450| 6e 74 73 20 69 6e 20 74 | 68 65 69 72 20 6f 77 6e |nts in t|heir own|
|00000460| 20 72 69 67 68 74 20 28 | 75 6e 6c 69 6b 65 0a 77 | right (|unlike.w|
|00000470| 68 69 74 65 73 70 61 63 | 65 29 2e 20 20 53 65 65 |hitespac|e). See|
|00000480| 20 60 63 6f 6d 69 6e 74 | 2d 61 72 67 75 6d 65 6e | `comint|-argumen|
|00000490| 74 73 27 2e 0a 44 65 66 | 61 75 6c 74 73 20 74 6f |ts'..Def|aults to|
|000004a0| 20 74 68 65 20 65 6d 70 | 74 79 20 6c 69 73 74 2e | the emp|ty list.|
|000004b0| 0a 0a 46 6f 72 20 73 68 | 65 6c 6c 73 2c 20 61 20 |..For sh|ells, a |
|000004c0| 67 6f 6f 64 20 76 61 6c | 75 65 20 69 73 20 28 3f |good val|ue is (?|
|000004d0| 5c 7c 20 3f 26 20 3f 3c | 20 3f 3e 20 3f 5c 28 20 |\| ?& ?<| ?> ?\( |
|000004e0| 3f 5c 29 20 3f 3b 29 2e | 0a 0a 54 68 69 73 20 69 |?\) ?;).|..This i|
|000004f0| 73 20 61 20 67 6f 6f 64 | 20 74 68 69 6e 67 20 74 |s a good| thing t|
|00000500| 6f 20 73 65 74 20 69 6e | 20 6d 6f 64 65 20 68 6f |o set in| mode ho|
|00000510| 6f 6b 73 2e 1f 0a 28 64 | 65 66 76 61 72 20 63 6f |oks...(d|efvar co|
|00000520| 6d 69 6e 74 2d 64 65 6c | 69 6d 69 74 65 72 2d 61 |mint-del|imiter-a|
|00000530| 72 67 75 6d 65 6e 74 2d | 6c 69 73 74 20 6e 69 6c |rgument-|list nil|
|00000540| 20 28 23 24 20 2e 20 39 | 32 30 29 29 0a 23 40 33 | (#$ . 9|20)).#@3|
|00000550| 39 38 20 2a 49 66 20 6e | 6f 6e 2d 6e 69 6c 2c 20 |98 *If n|on-nil, |
|00000560| 65 78 70 61 6e 64 20 69 | 6e 70 75 74 20 63 6f 6d |expand i|nput com|
|00000570| 6d 61 6e 64 20 68 69 73 | 74 6f 72 79 20 72 65 66 |mand his|tory ref|
|00000580| 65 72 65 6e 63 65 73 20 | 6f 6e 20 63 6f 6d 70 6c |erences |on compl|
|00000590| 65 74 69 6f 6e 2e 0a 54 | 68 69 73 20 6d 69 72 72 |etion..T|his mirr|
|000005a0| 6f 72 73 20 74 68 65 20 | 6f 70 74 69 6f 6e 61 6c |ors the |optional|
|000005b0| 20 62 65 68 61 76 69 6f | 72 20 6f 66 20 74 63 73 | behavio|r of tcs|
|000005c0| 68 20 28 69 74 73 20 61 | 75 74 6f 65 78 70 61 6e |h (its a|utoexpan|
|000005d0| 64 20 61 6e 64 20 68 69 | 73 74 6c 69 74 29 2e 0a |d and hi|stlit)..|
|000005e0| 0a 49 66 20 74 68 65 20 | 76 61 6c 75 65 20 69 73 |.If the |value is|
|000005f0| 20 60 69 6e 70 75 74 27 | 2c 20 74 68 65 6e 20 74 | `input'|, then t|
|00000600| 68 65 20 65 78 70 61 6e | 73 69 6f 6e 20 69 73 20 |he expan|sion is |
|00000610| 73 65 65 6e 20 6f 6e 20 | 69 6e 70 75 74 2e 0a 49 |seen on |input..I|
|00000620| 66 20 74 68 65 20 76 61 | 6c 75 65 20 69 73 20 60 |f the va|lue is `|
|00000630| 68 69 73 74 6f 72 79 27 | 2c 20 74 68 65 6e 20 74 |history'|, then t|
|00000640| 68 65 20 65 78 70 61 6e | 73 69 6f 6e 20 69 73 20 |he expan|sion is |
|00000650| 6f 6e 6c 79 20 77 68 65 | 6e 20 69 6e 73 65 72 74 |only whe|n insert|
|00000660| 69 6e 67 0a 69 6e 74 6f | 20 74 68 65 20 62 75 66 |ing.into| the buf|
|00000670| 66 65 72 27 73 20 69 6e | 70 75 74 20 72 69 6e 67 |fer's in|put ring|
|00000680| 2e 20 20 53 65 65 20 61 | 6c 73 6f 20 60 63 6f 6d |. See a|lso `com|
|00000690| 69 6e 74 2d 6d 61 67 69 | 63 2d 73 70 61 63 65 27 |int-magi|c-space'|
|000006a0| 20 61 6e 64 0a 60 63 6f | 6d 69 6e 74 2d 64 79 6e | and.`co|mint-dyn|
|000006b0| 61 6d 69 63 2d 63 6f 6d | 70 6c 65 74 65 27 2e 0a |amic-com|plete'..|
|000006c0| 0a 54 68 69 73 20 76 61 | 72 69 61 62 6c 65 20 69 |.This va|riable i|
|000006d0| 73 20 62 75 66 66 65 72 | 2d 6c 6f 63 61 6c 2e 1f |s buffer|-local..|
|000006e0| 0a 28 64 65 66 76 61 72 | 20 63 6f 6d 69 6e 74 2d |.(defvar| comint-|
|000006f0| 69 6e 70 75 74 2d 61 75 | 74 6f 65 78 70 61 6e 64 |input-au|toexpand|
|00000700| 20 6e 69 6c 20 28 23 24 | 20 2e 20 2d 31 33 36 33 | nil (#$| . -1363|
|00000710| 29 29 0a 23 40 31 34 33 | 20 2a 49 66 20 6e 6f 6e |)).#@143| *If non|
|00000720| 2d 6e 69 6c 2c 20 64 6f | 6e 27 74 20 61 64 64 20 |-nil, do|n't add |
|00000730| 69 6e 70 75 74 20 6d 61 | 74 63 68 69 6e 67 20 74 |input ma|tching t|
|00000740| 68 65 20 6c 61 73 74 20 | 6f 6e 20 74 68 65 20 69 |he last |on the i|
|00000750| 6e 70 75 74 20 72 69 6e | 67 2e 0a 54 68 69 73 20 |nput rin|g..This |
|00000760| 6d 69 72 72 6f 72 73 20 | 74 68 65 20 6f 70 74 69 |mirrors |the opti|
|00000770| 6f 6e 61 6c 20 62 65 68 | 61 76 69 6f 72 20 6f 66 |onal beh|avior of|
|00000780| 20 62 61 73 68 2e 0a 0a | 54 68 69 73 20 76 61 72 | bash...|This var|
|00000790| 69 61 62 6c 65 20 69 73 | 20 62 75 66 66 65 72 2d |iable is| buffer-|
|000007a0| 6c 6f 63 61 6c 2e 1f 0a | 28 64 65 66 76 61 72 20 |local...|(defvar |
|000007b0| 63 6f 6d 69 6e 74 2d 69 | 6e 70 75 74 2d 69 67 6e |comint-i|nput-ign|
|000007c0| 6f 72 65 64 75 70 73 20 | 6e 69 6c 20 28 23 24 20 |oredups |nil (#$ |
|000007d0| 2e 20 2d 31 38 31 37 29 | 29 0a 23 40 31 39 39 20 |. -1817)|).#@199 |
|000007e0| 2a 49 66 20 6e 6f 6e 2d | 6e 69 6c 2c 20 6e 61 6d |*If non-|nil, nam|
|000007f0| 65 20 6f 66 20 74 68 65 | 20 66 69 6c 65 20 74 6f |e of the| file to|
|00000800| 20 72 65 61 64 2f 77 72 | 69 74 65 20 69 6e 70 75 | read/wr|ite inpu|
|00000810| 74 20 68 69 73 74 6f 72 | 79 2e 0a 53 65 65 20 61 |t histor|y..See a|
|00000820| 6c 73 6f 20 60 63 6f 6d | 69 6e 74 2d 72 65 61 64 |lso `com|int-read|
|00000830| 2d 69 6e 70 75 74 2d 72 | 69 6e 67 27 20 61 6e 64 |-input-r|ing' and|
|00000840| 20 60 63 6f 6d 69 6e 74 | 2d 77 72 69 74 65 2d 69 | `comint|-write-i|
|00000850| 6e 70 75 74 2d 72 69 6e | 67 27 2e 0a 0a 54 68 69 |nput-rin|g'...Thi|
|00000860| 73 20 76 61 72 69 61 62 | 6c 65 20 69 73 20 62 75 |s variab|le is bu|
|00000870| 66 66 65 72 2d 6c 6f 63 | 61 6c 2c 20 61 6e 64 20 |ffer-loc|al, and |
|00000880| 69 73 20 61 20 67 6f 6f | 64 20 74 68 69 6e 67 20 |is a goo|d thing |
|00000890| 74 6f 20 73 65 74 20 69 | 6e 20 6d 6f 64 65 20 68 |to set i|n mode h|
|000008a0| 6f 6f 6b 73 2e 1f 0a 28 | 64 65 66 76 61 72 20 63 |ooks...(|defvar c|
|000008b0| 6f 6d 69 6e 74 2d 69 6e | 70 75 74 2d 72 69 6e 67 |omint-in|put-ring|
|000008c0| 2d 66 69 6c 65 2d 6e 61 | 6d 65 20 6e 69 6c 20 28 |-file-na|me nil (|
|000008d0| 23 24 20 2e 20 2d 32 30 | 31 36 29 29 0a 23 40 32 |#$ . -20|16)).#@2|
|000008e0| 38 32 20 2a 43 6f 6e 74 | 72 6f 6c 73 20 77 68 65 |82 *Cont|rols whe|
|000008f0| 74 68 65 72 20 69 6e 70 | 75 74 20 74 6f 20 69 6e |ther inp|ut to in|
|00000900| 74 65 72 70 72 65 74 65 | 72 20 63 61 75 73 65 73 |terprete|r causes|
|00000910| 20 77 69 6e 64 6f 77 20 | 74 6f 20 73 63 72 6f 6c | window |to scrol|
|00000920| 6c 2e 0a 49 66 20 6e 69 | 6c 2c 20 74 68 65 6e 20 |l..If ni|l, then |
|00000930| 64 6f 20 6e 6f 74 20 73 | 63 72 6f 6c 6c 2e 20 20 |do not s|croll. |
|00000940| 49 66 20 74 20 6f 72 20 | 60 61 6c 6c 27 2c 20 73 |If t or |`all', s|
|00000950| 63 72 6f 6c 6c 20 61 6c | 6c 20 77 69 6e 64 6f 77 |croll al|l window|
|00000960| 73 20 73 68 6f 77 69 6e | 67 20 62 75 66 66 65 72 |s showin|g buffer|
|00000970| 2e 0a 49 66 20 60 74 68 | 69 73 27 2c 20 73 63 72 |..If `th|is', scr|
|00000980| 6f 6c 6c 20 6f 6e 6c 79 | 20 74 68 65 20 73 65 6c |oll only| the sel|
|00000990| 65 63 74 65 64 20 77 69 | 6e 64 6f 77 2e 0a 0a 54 |ected wi|ndow...T|
|000009a0| 68 65 20 64 65 66 61 75 | 6c 74 20 69 73 20 6e 69 |he defau|lt is ni|
|000009b0| 6c 2e 0a 0a 53 65 65 20 | 60 63 6f 6d 69 6e 74 2d |l...See |`comint-|
|000009c0| 70 72 65 69 6e 70 75 74 | 2d 73 63 72 6f 6c 6c 2d |preinput|-scroll-|
|000009d0| 74 6f 2d 62 6f 74 74 6f | 6d 27 2e 20 20 54 68 69 |to-botto|m'. Thi|
|000009e0| 73 20 76 61 72 69 61 62 | 6c 65 20 69 73 20 62 75 |s variab|le is bu|
|000009f0| 66 66 65 72 2d 6c 6f 63 | 61 6c 2e 1f 0a 28 64 65 |ffer-loc|al...(de|
|00000a00| 66 76 61 72 20 63 6f 6d | 69 6e 74 2d 73 63 72 6f |fvar com|int-scro|
|00000a10| 6c 6c 2d 74 6f 2d 62 6f | 74 74 6f 6d 2d 6f 6e 2d |ll-to-bo|ttom-on-|
|00000a20| 69 6e 70 75 74 20 6e 69 | 6c 20 28 23 24 20 2e 20 |input ni|l (#$ . |
|00000a30| 2d 32 32 37 35 29 29 0a | 23 40 34 30 35 20 2a 43 |-2275)).|#@405 *C|
|00000a40| 6f 6e 74 72 6f 6c 73 20 | 77 68 65 74 68 65 72 20 |ontrols |whether |
|00000a50| 69 6e 74 65 72 70 72 65 | 74 65 72 20 6f 75 74 70 |interpre|ter outp|
|00000a60| 75 74 20 63 61 75 73 65 | 73 20 77 69 6e 64 6f 77 |ut cause|s window|
|00000a70| 20 74 6f 20 73 63 72 6f | 6c 6c 2e 0a 49 66 20 6e | to scro|ll..If n|
|00000a80| 69 6c 2c 20 74 68 65 6e | 20 64 6f 20 6e 6f 74 20 |il, then| do not |
|00000a90| 73 63 72 6f 6c 6c 2e 20 | 20 49 66 20 74 20 6f 72 |scroll. | If t or|
|00000aa0| 20 60 61 6c 6c 27 2c 20 | 73 63 72 6f 6c 6c 20 61 | `all', |scroll a|
|00000ab0| 6c 6c 20 77 69 6e 64 6f | 77 73 20 73 68 6f 77 69 |ll windo|ws showi|
|00000ac0| 6e 67 20 62 75 66 66 65 | 72 2e 0a 49 66 20 60 74 |ng buffe|r..If `t|
|00000ad0| 68 69 73 27 2c 20 73 63 | 72 6f 6c 6c 20 6f 6e 6c |his', sc|roll onl|
|00000ae0| 79 20 74 68 65 20 73 65 | 6c 65 63 74 65 64 20 77 |y the se|lected w|
|00000af0| 69 6e 64 6f 77 2e 0a 49 | 66 20 60 6f 74 68 65 72 |indow..I|f `other|
|00000b00| 73 27 2c 20 73 63 72 6f | 6c 6c 20 6f 6e 6c 79 20 |s', scro|ll only |
|00000b10| 74 68 6f 73 65 20 74 68 | 61 74 20 61 72 65 20 6e |those th|at are n|
|00000b20| 6f 74 20 74 68 65 20 73 | 65 6c 65 63 74 65 64 20 |ot the s|elected |
|00000b30| 77 69 6e 64 6f 77 2e 0a | 0a 54 68 65 20 64 65 66 |window..|.The def|
|00000b40| 61 75 6c 74 20 69 73 20 | 6e 69 6c 2e 0a 0a 53 65 |ault is |nil...Se|
|00000b50| 65 20 76 61 72 69 61 62 | 6c 65 20 60 63 6f 6d 69 |e variab|le `comi|
|00000b60| 6e 74 2d 73 63 72 6f 6c | 6c 2d 73 68 6f 77 2d 6d |nt-scrol|l-show-m|
|00000b70| 61 78 69 6d 75 6d 2d 6f | 75 74 70 75 74 27 20 61 |aximum-o|utput' a|
|00000b80| 6e 64 20 66 75 6e 63 74 | 69 6f 6e 0a 60 63 6f 6d |nd funct|ion.`com|
|00000b90| 69 6e 74 2d 70 6f 73 74 | 6f 75 74 70 75 74 2d 73 |int-post|output-s|
|00000ba0| 63 72 6f 6c 6c 2d 74 6f | 2d 62 6f 74 74 6f 6d 27 |croll-to|-bottom'|
|00000bb0| 2e 20 20 54 68 69 73 20 | 76 61 72 69 61 62 6c 65 |. This |variable|
|00000bc0| 20 69 73 20 62 75 66 66 | 65 72 2d 6c 6f 63 61 6c | is buff|er-local|
|00000bd0| 2e 1f 0a 28 64 65 66 76 | 61 72 20 63 6f 6d 69 6e |...(defv|ar comin|
|00000be0| 74 2d 73 63 72 6f 6c 6c | 2d 74 6f 2d 62 6f 74 74 |t-scroll|-to-bott|
|00000bf0| 6f 6d 2d 6f 6e 2d 6f 75 | 74 70 75 74 20 6e 69 6c |om-on-ou|tput nil|
|00000c00| 20 28 23 24 20 2e 20 2d | 32 36 32 32 29 29 0a 23 | (#$ . -|2622)).#|
|00000c10| 40 32 36 32 20 2a 43 6f | 6e 74 72 6f 6c 73 20 68 |@262 *Co|ntrols h|
|00000c20| 6f 77 20 69 6e 74 65 72 | 70 72 65 74 65 72 20 6f |ow inter|preter o|
|00000c30| 75 74 70 75 74 20 63 61 | 75 73 65 73 20 77 69 6e |utput ca|uses win|
|00000c40| 64 6f 77 20 74 6f 20 73 | 63 72 6f 6c 6c 2e 0a 49 |dow to s|croll..I|
|00000c50| 66 20 6e 6f 6e 2d 6e 69 | 6c 2c 20 74 68 65 6e 20 |f non-ni|l, then |
|00000c60| 73 68 6f 77 20 74 68 65 | 20 6d 61 78 69 6d 75 6d |show the| maximum|
|00000c70| 20 6f 75 74 70 75 74 20 | 77 68 65 6e 20 74 68 65 | output |when the|
|00000c80| 20 77 69 6e 64 6f 77 20 | 69 73 20 73 63 72 6f 6c | window |is scrol|
|00000c90| 6c 65 64 2e 0a 0a 53 65 | 65 20 76 61 72 69 61 62 |led...Se|e variab|
|00000ca0| 6c 65 20 60 63 6f 6d 69 | 6e 74 2d 73 63 72 6f 6c |le `comi|nt-scrol|
|00000cb0| 6c 2d 74 6f 2d 62 6f 74 | 74 6f 6d 2d 6f 6e 2d 6f |l-to-bot|tom-on-o|
|00000cc0| 75 74 70 75 74 27 20 61 | 6e 64 20 66 75 6e 63 74 |utput' a|nd funct|
|00000cd0| 69 6f 6e 0a 60 63 6f 6d | 69 6e 74 2d 70 6f 73 74 |ion.`com|int-post|
|00000ce0| 6f 75 74 70 75 74 2d 73 | 63 72 6f 6c 6c 2d 74 6f |output-s|croll-to|
|00000cf0| 2d 62 6f 74 74 6f 6d 27 | 2e 20 20 54 68 69 73 20 |-bottom'|. This |
|00000d00| 76 61 72 69 61 62 6c 65 | 20 69 73 20 62 75 66 66 |variable| is buff|
|00000d10| 65 72 2d 6c 6f 63 61 6c | 2e 1f 0a 28 64 65 66 76 |er-local|...(defv|
|00000d20| 61 72 20 63 6f 6d 69 6e | 74 2d 73 63 72 6f 6c 6c |ar comin|t-scroll|
|00000d30| 2d 73 68 6f 77 2d 6d 61 | 78 69 6d 75 6d 2d 6f 75 |-show-ma|ximum-ou|
|00000d40| 74 70 75 74 20 6e 69 6c | 20 28 23 24 20 2e 20 2d |tput nil| (#$ . -|
|00000d50| 33 30 39 33 29 29 0a 23 | 40 32 30 36 20 2a 54 68 |3093)).#|@206 *Th|
|00000d60| 65 20 6d 61 78 69 6d 75 | 6d 20 73 69 7a 65 20 69 |e maximu|m size i|
|00000d70| 6e 20 6c 69 6e 65 73 20 | 66 6f 72 20 63 6f 6d 69 |n lines |for comi|
|00000d80| 6e 74 20 62 75 66 66 65 | 72 73 2e 0a 43 6f 6d 69 |nt buffe|rs..Comi|
|00000d90| 6e 74 20 62 75 66 66 65 | 72 73 20 61 72 65 20 74 |nt buffe|rs are t|
|00000da0| 72 75 6e 63 61 74 65 64 | 20 66 72 6f 6d 20 74 68 |runcated| from th|
|00000db0| 65 20 74 6f 70 20 74 6f | 20 62 65 20 6e 6f 20 67 |e top to| be no g|
|00000dc0| 72 65 61 74 65 72 20 74 | 68 61 6e 20 74 68 69 73 |reater t|han this|
|00000dd0| 20 6e 75 6d 62 65 72 2c | 20 69 66 0a 74 68 65 20 | number,| if.the |
|00000de0| 66 75 6e 63 74 69 6f 6e | 20 60 63 6f 6d 69 6e 74 |function| `comint|
|00000df0| 2d 74 72 75 6e 63 61 74 | 65 2d 62 75 66 66 65 72 |-truncat|e-buffer|
|00000e00| 27 20 69 73 20 6f 6e 20 | 60 63 6f 6d 69 6e 74 2d |' is on |`comint-|
|00000e10| 6f 75 74 70 75 74 2d 66 | 69 6c 74 65 72 2d 66 75 |output-f|ilter-fu|
|00000e20| 6e 63 74 69 6f 6e 73 27 | 2e 1f 0a 28 64 65 66 76 |nctions'|...(defv|
|00000e30| 61 72 20 63 6f 6d 69 6e | 74 2d 62 75 66 66 65 72 |ar comin|t-buffer|
|00000e40| 2d 6d 61 78 69 6d 75 6d | 2d 73 69 7a 65 20 31 30 |-maximum|-size 10|
|00000e50| 32 34 20 28 23 24 20 2e | 20 2d 33 34 32 31 29 29 |24 (#$ .| -3421))|
|00000e60| 0a 23 40 32 39 20 53 69 | 7a 65 20 6f 66 20 69 6e |.#@29 Si|ze of in|
|00000e70| 70 75 74 20 68 69 73 74 | 6f 72 79 20 72 69 6e 67 |put hist|ory ring|
|00000e80| 2e 1f 0a 28 64 65 66 76 | 61 72 20 63 6f 6d 69 6e |...(defv|ar comin|
|00000e90| 74 2d 69 6e 70 75 74 2d | 72 69 6e 67 2d 73 69 7a |t-input-|ring-siz|
|00000ea0| 65 20 33 32 20 28 23 24 | 20 2e 20 33 36 38 36 29 |e 32 (#$| . 3686)|
|00000eb0| 29 0a 23 40 31 38 33 20 | 2a 49 66 20 6e 6f 6e 2d |).#@183 |*If non-|
|00000ec0| 6e 69 6c 2c 20 61 73 73 | 75 6d 65 20 74 68 61 74 |nil, ass|ume that|
|00000ed0| 20 74 68 65 20 73 75 62 | 70 72 6f 63 65 73 73 20 | the sub|process |
|00000ee0| 65 63 68 6f 65 73 20 61 | 6e 79 20 69 6e 70 75 74 |echoes a|ny input|
|00000ef0| 2e 0a 49 66 20 73 6f 2c | 20 64 65 6c 65 74 65 20 |..If so,| delete |
|00000f00| 6f 6e 65 20 63 6f 70 79 | 20 6f 66 20 74 68 65 20 |one copy| of the |
|00000f10| 69 6e 70 75 74 20 73 6f | 20 74 68 61 74 20 6f 6e |input so| that on|
|00000f20| 6c 79 20 6f 6e 65 20 63 | 6f 70 79 20 65 76 65 6e |ly one c|opy even|
|00000f30| 74 75 61 6c 6c 79 0a 61 | 70 70 65 61 72 73 20 69 |tually.a|ppears i|
|00000f40| 6e 20 74 68 65 20 62 75 | 66 66 65 72 2e 0a 0a 54 |n the bu|ffer...T|
|00000f50| 68 69 73 20 76 61 72 69 | 61 62 6c 65 20 69 73 20 |his vari|able is |
|00000f60| 62 75 66 66 65 72 2d 6c | 6f 63 61 6c 2e 1f 0a 28 |buffer-l|ocal...(|
|00000f70| 64 65 66 76 61 72 20 63 | 6f 6d 69 6e 74 2d 70 72 |defvar c|omint-pr|
|00000f80| 6f 63 65 73 73 2d 65 63 | 68 6f 65 73 20 6e 69 6c |ocess-ec|hoes nil|
|00000f90| 20 28 23 24 20 2e 20 2d | 33 37 36 38 29 29 0a 23 | (#$ . -|3768)).#|
|00000fa0| 40 31 31 37 20 2a 52 65 | 67 65 78 70 20 6d 61 74 |@117 *Re|gexp mat|
|00000fb0| 63 68 69 6e 67 20 70 72 | 6f 6d 70 74 73 20 66 6f |ching pr|ompts fo|
|00000fc0| 72 20 70 61 73 73 77 6f | 72 64 73 20 69 6e 20 74 |r passwo|rds in t|
|00000fd0| 68 65 20 69 6e 66 65 72 | 69 6f 72 20 70 72 6f 63 |he infer|ior proc|
|00000fe0| 65 73 73 2e 0a 54 68 69 | 73 20 69 73 20 75 73 65 |ess..Thi|s is use|
|00000ff0| 64 20 62 79 20 60 63 6f | 6d 69 6e 74 2d 77 61 74 |d by `co|mint-wat|
|00001000| 63 68 2d 66 6f 72 2d 70 | 61 73 73 77 6f 72 64 2d |ch-for-p|assword-|
|00001010| 70 72 6f 6d 70 74 27 2e | 1f 0a 28 64 65 66 76 61 |prompt'.|..(defva|
|00001020| 72 20 63 6f 6d 69 6e 74 | 2d 70 61 73 73 77 6f 72 |r comint|-passwor|
|00001030| 64 2d 70 72 6f 6d 70 74 | 2d 72 65 67 65 78 70 20 |d-prompt|-regexp |
|00001040| 22 5c 5c 28 5c 5c 28 5b | 4f 6f 5d 6c 64 20 5c 5c |"\\(\\([|Oo]ld \\|
|00001050| 7c 5b 4e 6e 5d 65 77 20 | 5c 5c 7c 5e 5c 5c 29 5b ||[Nn]ew |\\|^\\)[|
|00001060| 50 70 5d 61 73 73 77 6f | 72 64 5c 5c 7c 70 61 73 |Pp]asswo|rd\\|pas|
|00001070| 73 20 70 68 72 61 73 65 | 5c 5c 29 3a 5c 5c 73 20 |s phrase|\\):\\s |
|00001080| 2a 5c 5c 27 22 20 28 23 | 24 20 2e 20 2d 34 30 30 |*\\'" (#|$ . -400|
|00001090| 35 29 29 0a 23 40 33 31 | 38 20 46 75 6e 63 74 69 |5)).#@31|8 Functi|
|000010a0| 6f 6e 20 74 68 61 74 20 | 72 65 74 75 72 6e 73 20 |on that |returns |
|000010b0| 6f 6c 64 20 74 65 78 74 | 20 69 6e 20 63 6f 6d 69 |old text| in comi|
|000010c0| 6e 74 20 6d 6f 64 65 2e | 0a 54 68 69 73 20 66 75 |nt mode.|.This fu|
|000010d0| 6e 63 74 69 6f 6e 20 69 | 73 20 63 61 6c 6c 65 64 |nction i|s called|
|000010e0| 20 77 68 65 6e 20 72 65 | 74 75 72 6e 20 69 73 20 | when re|turn is |
|000010f0| 74 79 70 65 64 20 77 68 | 69 6c 65 20 74 68 65 20 |typed wh|ile the |
|00001100| 70 6f 69 6e 74 20 69 73 | 20 69 6e 20 6f 6c 64 20 |point is| in old |
|00001110| 74 65 78 74 2e 0a 49 74 | 20 72 65 74 75 72 6e 73 |text..It| returns|
|00001120| 20 74 68 65 20 74 65 78 | 74 20 74 6f 20 62 65 20 | the tex|t to be |
|00001130| 73 75 62 6d 69 74 74 65 | 64 20 61 73 20 70 72 6f |submitte|d as pro|
|00001140| 63 65 73 73 20 69 6e 70 | 75 74 2e 20 20 54 68 65 |cess inp|ut. The|
|00001150| 20 64 65 66 61 75 6c 74 | 20 69 73 0a 60 63 6f 6d | default| is.`com|
|00001160| 69 6e 74 2d 67 65 74 2d | 6f 6c 64 2d 69 6e 70 75 |int-get-|old-inpu|
|00001170| 74 2d 64 65 66 61 75 6c | 74 27 2c 20 77 68 69 63 |t-defaul|t', whic|
|00001180| 68 20 67 72 61 62 73 20 | 74 68 65 20 63 75 72 72 |h grabs |the curr|
|00001190| 65 6e 74 20 6c 69 6e 65 | 2c 20 61 6e 64 20 73 74 |ent line|, and st|
|000011a0| 72 69 70 73 20 6f 66 66 | 0a 6c 65 61 64 69 6e 67 |rips off|.leading|
|000011b0| 20 74 65 78 74 20 6d 61 | 74 63 68 69 6e 67 20 60 | text ma|tching `|
|000011c0| 63 6f 6d 69 6e 74 2d 70 | 72 6f 6d 70 74 2d 72 65 |comint-p|rompt-re|
|000011d0| 67 65 78 70 27 2e 1f 0a | 28 64 65 66 76 61 72 20 |gexp'...|(defvar |
|000011e0| 63 6f 6d 69 6e 74 2d 67 | 65 74 2d 6f 6c 64 2d 69 |comint-g|et-old-i|
|000011f0| 6e 70 75 74 20 28 71 75 | 6f 74 65 20 63 6f 6d 69 |nput (qu|ote comi|
|00001200| 6e 74 2d 67 65 74 2d 6f | 6c 64 2d 69 6e 70 75 74 |nt-get-o|ld-input|
|00001210| 2d 64 65 66 61 75 6c 74 | 29 20 28 23 24 20 2e 20 |-default|) (#$ . |
|00001220| 34 32 35 30 29 29 0a 23 | 40 31 39 30 20 4c 69 73 |4250)).#|@190 Lis|
|00001230| 74 20 6f 66 20 66 75 6e | 63 74 69 6f 6e 73 20 63 |t of fun|ctions c|
|00001240| 61 6c 6c 65 64 20 74 6f | 20 70 65 72 66 6f 72 6d |alled to| perform|
|00001250| 20 63 6f 6d 70 6c 65 74 | 69 6f 6e 2e 0a 46 75 6e | complet|ion..Fun|
|00001260| 63 74 69 6f 6e 73 20 73 | 68 6f 75 6c 64 20 72 65 |ctions s|hould re|
|00001270| 74 75 72 6e 20 6e 6f 6e | 2d 6e 69 6c 20 69 66 20 |turn non|-nil if |
|00001280| 63 6f 6d 70 6c 65 74 69 | 6f 6e 20 77 61 73 20 70 |completi|on was p|
|00001290| 65 72 66 6f 72 6d 65 64 | 2e 0a 53 65 65 20 61 6c |erformed|..See al|
|000012a0| 73 6f 20 60 63 6f 6d 69 | 6e 74 2d 64 79 6e 61 6d |so `comi|nt-dynam|
|000012b0| 69 63 2d 63 6f 6d 70 6c | 65 74 65 27 2e 0a 0a 54 |ic-compl|ete'...T|
|000012c0| 68 69 73 20 69 73 20 61 | 20 67 6f 6f 64 20 74 68 |his is a| good th|
|000012d0| 69 6e 67 20 74 6f 20 73 | 65 74 20 69 6e 20 6d 6f |ing to s|et in mo|
|000012e0| 64 65 20 68 6f 6f 6b 73 | 2e 1f 0a 28 64 65 66 76 |de hooks|...(defv|
|000012f0| 61 72 20 63 6f 6d 69 6e | 74 2d 64 79 6e 61 6d 69 |ar comin|t-dynami|
|00001300| 63 2d 63 6f 6d 70 6c 65 | 74 65 2d 66 75 6e 63 74 |c-comple|te-funct|
|00001310| 69 6f 6e 73 20 28 71 75 | 6f 74 65 20 28 63 6f 6d |ions (qu|ote (com|
|00001320| 69 6e 74 2d 72 65 70 6c | 61 63 65 2d 62 79 2d 65 |int-repl|ace-by-e|
|00001330| 78 70 61 6e 64 65 64 2d | 68 69 73 74 6f 72 79 20 |xpanded-|history |
|00001340| 63 6f 6d 69 6e 74 2d 64 | 79 6e 61 6d 69 63 2d 63 |comint-d|ynamic-c|
|00001350| 6f 6d 70 6c 65 74 65 2d | 66 69 6c 65 6e 61 6d 65 |omplete-|filename|
|00001360| 29 29 20 28 23 24 20 2e | 20 34 36 35 33 29 29 0a |)) (#$ .| 4653)).|
|00001370| 23 40 32 30 33 20 50 72 | 65 64 69 63 61 74 65 20 |#@203 Pr|edicate |
|00001380| 66 6f 72 20 66 69 6c 74 | 65 72 69 6e 67 20 61 64 |for filt|ering ad|
|00001390| 64 69 74 69 6f 6e 73 20 | 74 6f 20 69 6e 70 75 74 |ditions |to input|
|000013a0| 20 68 69 73 74 6f 72 79 | 2e 0a 54 61 6b 65 73 20 | history|..Takes |
|000013b0| 6f 6e 65 20 61 72 67 75 | 6d 65 6e 74 2c 20 74 68 |one argu|ment, th|
|000013c0| 65 20 69 6e 70 75 74 2e | 20 20 49 66 20 6e 6f 6e |e input.| If non|
|000013d0| 2d 6e 69 6c 2c 20 74 68 | 65 20 69 6e 70 75 74 20 |-nil, th|e input |
|000013e0| 6d 61 79 20 62 65 20 73 | 61 76 65 64 20 6f 6e 20 |may be s|aved on |
|000013f0| 74 68 65 20 69 6e 70 75 | 74 0a 68 69 73 74 6f 72 |the inpu|t.histor|
|00001400| 79 20 6c 69 73 74 2e 20 | 20 44 65 66 61 75 6c 74 |y list. | Default|
|00001410| 20 69 73 20 74 6f 20 73 | 61 76 65 20 61 6e 79 74 | is to s|ave anyt|
|00001420| 68 69 6e 67 20 74 68 61 | 74 20 69 73 6e 27 74 20 |hing tha|t isn't |
|00001430| 61 6c 6c 20 77 68 69 74 | 65 73 70 61 63 65 2e 1f |all whit|espace..|
|00001440| 0a 28 64 65 66 76 61 72 | 20 63 6f 6d 69 6e 74 2d |.(defvar| comint-|
|00001450| 69 6e 70 75 74 2d 66 69 | 6c 74 65 72 20 23 5b 28 |input-fi|lter #[(|
|00001460| 73 74 72 29 20 22 c0 c1 | 5c 6e 5c 22 3f 87 22 20 |str) "..|\n\"?." |
|00001470| 5b 73 74 72 69 6e 67 2d | 6d 61 74 63 68 20 22 5c |[string-|match "\|
|00001480| 5c 60 5c 5c 73 20 2a 5c | 5c 27 22 20 73 74 72 5d |\`\\s *\|\'" str]|
|00001490| 20 33 5d 20 28 23 24 20 | 2e 20 34 39 38 32 29 29 | 3] (#$ |. 4982))|
|000014a0| 0a 23 40 31 36 30 20 46 | 75 6e 63 74 69 6f 6e 73 |.#@160 F|unctions|
|000014b0| 20 74 6f 20 63 61 6c 6c | 20 62 65 66 6f 72 65 20 | to call| before |
|000014c0| 69 6e 70 75 74 20 69 73 | 20 73 65 6e 74 20 74 6f |input is| sent to|
|000014d0| 20 74 68 65 20 70 72 6f | 63 65 73 73 2e 0a 54 68 | the pro|cess..Th|
|000014e0| 65 73 65 20 66 75 6e 63 | 74 69 6f 6e 73 20 67 65 |ese func|tions ge|
|000014f0| 74 20 6f 6e 65 20 61 72 | 67 75 6d 65 6e 74 2c 20 |t one ar|gument, |
|00001500| 61 20 73 74 72 69 6e 67 | 20 63 6f 6e 74 61 69 6e |a string| contain|
|00001510| 69 6e 67 20 74 68 65 20 | 74 65 78 74 20 74 6f 20 |ing the |text to |
|00001520| 73 65 6e 64 2e 0a 0a 54 | 68 69 73 20 76 61 72 69 |send...T|his vari|
|00001530| 61 62 6c 65 20 69 73 20 | 62 75 66 66 65 72 2d 6c |able is |buffer-l|
|00001540| 6f 63 61 6c 2e 1f 0a 28 | 64 65 66 76 61 72 20 63 |ocal...(|defvar c|
|00001550| 6f 6d 69 6e 74 2d 69 6e | 70 75 74 2d 66 69 6c 74 |omint-in|put-filt|
|00001560| 65 72 2d 66 75 6e 63 74 | 69 6f 6e 73 20 6e 69 6c |er-funct|ions nil|
|00001570| 20 28 23 24 20 2e 20 35 | 32 38 37 29 29 0a 23 40 | (#$ . 5|287)).#@|
|00001580| 34 33 32 20 46 75 6e 63 | 74 69 6f 6e 73 20 74 6f |432 Func|tions to|
|00001590| 20 63 61 6c 6c 20 61 66 | 74 65 72 20 6f 75 74 70 | call af|ter outp|
|000015a0| 75 74 20 69 73 20 69 6e | 73 65 72 74 65 64 20 69 |ut is in|serted i|
|000015b0| 6e 74 6f 20 74 68 65 20 | 62 75 66 66 65 72 2e 0a |nto the |buffer..|
|000015c0| 4f 6e 65 20 70 6f 73 73 | 69 62 6c 65 20 66 75 6e |One poss|ible fun|
|000015d0| 63 74 69 6f 6e 20 69 73 | 20 60 63 6f 6d 69 6e 74 |ction is| `comint|
|000015e0| 2d 70 6f 73 74 6f 75 74 | 70 75 74 2d 73 63 72 6f |-postout|put-scro|
|000015f0| 6c 6c 2d 74 6f 2d 62 6f | 74 74 6f 6d 27 2e 0a 54 |ll-to-bo|ttom'..T|
|00001600| 68 65 73 65 20 66 75 6e | 63 74 69 6f 6e 73 20 67 |hese fun|ctions g|
|00001610| 65 74 20 6f 6e 65 20 61 | 72 67 75 6d 65 6e 74 2c |et one a|rgument,|
|00001620| 20 61 20 73 74 72 69 6e | 67 20 63 6f 6e 74 61 69 | a strin|g contai|
|00001630| 6e 69 6e 67 20 74 68 65 | 20 74 65 78 74 20 61 73 |ning the| text as|
|00001640| 20 6f 72 69 67 69 6e 61 | 6c 6c 79 0a 69 6e 73 65 | origina|lly.inse|
|00001650| 72 74 65 64 2e 20 20 4e | 6f 74 65 20 74 68 61 74 |rted. N|ote that|
|00001660| 20 74 68 69 73 20 6d 69 | 67 68 74 20 6e 6f 74 20 | this mi|ght not |
|00001670| 62 65 20 74 68 65 20 73 | 61 6d 65 20 61 73 20 74 |be the s|ame as t|
|00001680| 68 65 20 62 75 66 66 65 | 72 20 63 6f 6e 74 65 6e |he buffe|r conten|
|00001690| 74 73 20 62 65 74 77 65 | 65 6e 0a 60 63 6f 6d 69 |ts betwe|en.`comi|
|000016a0| 6e 74 2d 6c 61 73 74 2d | 6f 75 74 70 75 74 2d 73 |nt-last-|output-s|
|000016b0| 74 61 72 74 27 20 61 6e | 64 20 74 68 65 20 62 75 |tart' an|d the bu|
|000016c0| 66 66 65 72 27 73 20 60 | 70 72 6f 63 65 73 73 2d |ffer's `|process-|
|000016d0| 6d 61 72 6b 27 2c 20 69 | 66 20 6f 74 68 65 72 20 |mark', i|f other |
|000016e0| 66 69 6c 74 65 72 0a 66 | 75 6e 63 74 69 6f 6e 73 |filter.f|unctions|
|000016f0| 20 68 61 76 65 20 61 6c | 72 65 61 64 79 20 6d 6f | have al|ready mo|
|00001700| 64 69 66 69 65 64 20 74 | 68 65 20 62 75 66 66 65 |dified t|he buffe|
|00001710| 72 2e 0a 0a 54 68 69 73 | 20 76 61 72 69 61 62 6c |r...This| variabl|
|00001720| 65 20 69 73 20 62 75 66 | 66 65 72 2d 6c 6f 63 61 |e is buf|fer-loca|
|00001730| 6c 2e 1f 0a 28 64 65 66 | 76 61 72 20 63 6f 6d 69 |l...(def|var comi|
|00001740| 6e 74 2d 6f 75 74 70 75 | 74 2d 66 69 6c 74 65 72 |nt-outpu|t-filter|
|00001750| 2d 66 75 6e 63 74 69 6f | 6e 73 20 28 71 75 6f 74 |-functio|ns (quot|
|00001760| 65 20 28 63 6f 6d 69 6e | 74 2d 70 6f 73 74 6f 75 |e (comin|t-postou|
|00001770| 74 70 75 74 2d 73 63 72 | 6f 6c 6c 2d 74 6f 2d 62 |tput-scr|oll-to-b|
|00001780| 6f 74 74 6f 6d 29 29 20 | 28 23 24 20 2e 20 35 35 |ottom)) |(#$ . 55|
|00001790| 30 38 29 29 0a 23 40 33 | 31 32 20 46 75 6e 63 74 |08)).#@3|12 Funct|
|000017a0| 69 6f 6e 20 74 6f 20 61 | 63 74 75 61 6c 6c 79 20 |ion to a|ctually |
|000017b0| 73 65 6e 64 20 74 6f 20 | 50 52 4f 43 45 53 53 20 |send to |PROCESS |
|000017c0| 74 68 65 20 53 54 52 49 | 4e 47 20 73 75 62 6d 69 |the STRI|NG submi|
|000017d0| 74 74 65 64 20 62 79 20 | 75 73 65 72 2e 0a 55 73 |tted by |user..Us|
|000017e0| 75 61 6c 6c 79 20 74 68 | 69 73 20 69 73 20 6a 75 |ually th|is is ju|
|000017f0| 73 74 20 60 63 6f 6d 69 | 6e 74 2d 73 69 6d 70 6c |st `comi|nt-simpl|
|00001800| 65 2d 73 65 6e 64 27 2c | 20 62 75 74 20 69 66 20 |e-send',| but if |
|00001810| 79 6f 75 72 20 6d 6f 64 | 65 20 6e 65 65 64 73 20 |your mod|e needs |
|00001820| 74 6f 20 0a 6d 61 73 73 | 61 67 65 20 74 68 65 20 |to .mass|age the |
|00001830| 69 6e 70 75 74 20 73 74 | 72 69 6e 67 2c 20 70 75 |input st|ring, pu|
|00001840| 74 20 61 20 64 69 66 66 | 65 72 65 6e 74 20 66 75 |t a diff|erent fu|
|00001850| 6e 63 74 69 6f 6e 20 68 | 65 72 65 2e 0a 60 63 6f |nction h|ere..`co|
|00001860| 6d 69 6e 74 2d 73 69 6d | 70 6c 65 2d 73 65 6e 64 |mint-sim|ple-send|
|00001870| 27 20 6a 75 73 74 20 73 | 65 6e 64 73 20 74 68 65 |' just s|ends the|
|00001880| 20 73 74 72 69 6e 67 20 | 70 6c 75 73 20 61 20 6e | string |plus a n|
|00001890| 65 77 6c 69 6e 65 2e 0a | 54 68 69 73 20 69 73 20 |ewline..|This is |
|000018a0| 63 61 6c 6c 65 64 20 66 | 72 6f 6d 20 74 68 65 20 |called f|rom the |
|000018b0| 75 73 65 72 20 63 6f 6d | 6d 61 6e 64 20 60 63 6f |user com|mand `co|
|000018c0| 6d 69 6e 74 2d 73 65 6e | 64 2d 69 6e 70 75 74 27 |mint-sen|d-input'|
|000018d0| 2e 1f 0a 28 64 65 66 76 | 61 72 20 63 6f 6d 69 6e |...(defv|ar comin|
|000018e0| 74 2d 69 6e 70 75 74 2d | 73 65 6e 64 65 72 20 28 |t-input-|sender (|
|000018f0| 71 75 6f 74 65 20 63 6f | 6d 69 6e 74 2d 73 69 6d |quote co|mint-sim|
|00001900| 70 6c 65 2d 73 65 6e 64 | 29 20 28 23 24 20 2e 20 |ple-send|) (#$ . |
|00001910| 36 30 34 33 29 29 0a 23 | 40 38 39 20 2a 4e 6f 6e |6043)).#|@89 *Non|
|00001920| 2d 6e 69 6c 20 6d 65 61 | 6e 73 20 67 6f 20 74 6f |-nil mea|ns go to|
|00001930| 20 74 68 65 20 65 6e 64 | 20 6f 66 20 74 68 65 20 | the end| of the |
|00001940| 6c 69 6e 65 20 62 65 66 | 6f 72 65 20 73 65 6e 64 |line bef|ore send|
|00001950| 69 6e 67 20 69 6e 70 75 | 74 2e 0a 53 65 65 20 60 |ing inpu|t..See `|
|00001960| 63 6f 6d 69 6e 74 2d 73 | 65 6e 64 2d 69 6e 70 75 |comint-s|end-inpu|
|00001970| 74 27 2e 1f 0a 28 64 65 | 66 76 61 72 20 63 6f 6d |t'...(de|fvar com|
|00001980| 69 6e 74 2d 65 6f 6c 2d | 6f 6e 2d 73 65 6e 64 20 |int-eol-|on-send |
|00001990| 74 20 28 23 24 20 2e 20 | 2d 36 34 32 38 29 29 0a |t (#$ . |-6428)).|
|000019a0| 23 40 38 32 20 43 61 6c | 6c 65 64 20 75 70 6f 6e |#@82 Cal|led upon|
|000019b0| 20 65 6e 74 72 79 20 69 | 6e 74 6f 20 63 6f 6d 69 | entry i|nto comi|
|000019c0| 6e 74 2d 6d 6f 64 65 0a | 54 68 69 73 20 69 73 20 |nt-mode.|This is |
|000019d0| 72 75 6e 20 62 65 66 6f | 72 65 20 74 68 65 20 70 |run befo|re the p|
|000019e0| 72 6f 63 65 73 73 20 69 | 73 20 63 72 61 6e 6b 65 |rocess i|s cranke|
|000019f0| 64 20 75 70 2e 1f 0a 28 | 64 65 66 76 61 72 20 63 |d up...(|defvar c|
|00001a00| 6f 6d 69 6e 74 2d 6d 6f | 64 65 2d 68 6f 6f 6b 20 |omint-mo|de-hook |
|00001a10| 6e 69 6c 20 28 23 24 20 | 2e 20 36 35 36 35 29 29 |nil (#$ |. 6565))|
|00001a20| 0a 23 40 33 33 30 20 43 | 61 6c 6c 65 64 20 65 61 |.#@330 C|alled ea|
|00001a30| 63 68 20 74 69 6d 65 20 | 61 20 70 72 6f 63 65 73 |ch time |a proces|
|00001a40| 73 20 69 73 20 65 78 65 | 63 27 64 20 62 79 20 60 |s is exe|c'd by `|
|00001a50| 63 6f 6d 69 6e 74 2d 65 | 78 65 63 27 2e 0a 54 68 |comint-e|xec'..Th|
|00001a60| 69 73 20 69 73 20 63 61 | 6c 6c 65 64 20 61 66 74 |is is ca|lled aft|
|00001a70| 65 72 20 74 68 65 20 70 | 72 6f 63 65 73 73 20 69 |er the p|rocess i|
|00001a80| 73 20 63 72 61 6e 6b 65 | 64 20 75 70 2e 20 20 49 |s cranke|d up. I|
|00001a90| 74 20 69 73 20 75 73 65 | 66 75 6c 20 66 6f 72 20 |t is use|ful for |
|00001aa0| 74 68 69 6e 67 73 20 74 | 68 61 74 0a 6d 75 73 74 |things t|hat.must|
|00001ab0| 20 62 65 20 64 6f 6e 65 | 20 65 61 63 68 20 74 69 | be done| each ti|
|00001ac0| 6d 65 20 61 20 70 72 6f | 63 65 73 73 20 69 73 20 |me a pro|cess is |
|00001ad0| 65 78 65 63 75 74 65 64 | 20 69 6e 20 61 20 63 6f |executed| in a co|
|00001ae0| 6d 69 6e 74 20 6d 6f 64 | 65 20 62 75 66 66 65 72 |mint mod|e buffer|
|00001af0| 20 28 65 2e 67 2e 2c 0a | 60 28 70 72 6f 63 65 73 | (e.g.,.|`(proces|
|00001b00| 73 2d 6b 69 6c 6c 2d 77 | 69 74 68 6f 75 74 2d 71 |s-kill-w|ithout-q|
|00001b10| 75 65 72 79 29 27 29 2e | 20 20 49 6e 20 63 6f 6e |uery)').| In con|
|00001b20| 74 72 61 73 74 2c 20 74 | 68 65 20 60 63 6f 6d 69 |trast, t|he `comi|
|00001b30| 6e 74 2d 6d 6f 64 65 2d | 68 6f 6f 6b 27 20 69 73 |nt-mode-|hook' is|
|00001b40| 20 6f 6e 6c 79 0a 65 78 | 65 63 75 74 65 64 20 6f | only.ex|ecuted o|
|00001b50| 6e 63 65 20 77 68 65 6e | 20 74 68 65 20 62 75 66 |nce when| the buf|
|00001b60| 66 65 72 20 69 73 20 63 | 72 65 61 74 65 64 2e 1f |fer is c|reated..|
|00001b70| 0a 28 64 65 66 76 61 72 | 20 63 6f 6d 69 6e 74 2d |.(defvar| comint-|
|00001b80| 65 78 65 63 2d 68 6f 6f | 6b 20 6e 69 6c 20 28 23 |exec-hoo|k nil (#|
|00001b90| 24 20 2e 20 36 36 39 35 | 29 29 0a 28 62 79 74 65 |$ . 6695|)).(byte|
|00001ba0| 2d 63 6f 64 65 20 22 c0 | c1 21 84 08 00 c2 11 c1 |-code ".|.!......|
|00001bb0| 0b 42 13 c2 87 22 20 5b | 62 6f 75 6e 64 70 20 63 |.B..." [|boundp c|
|00001bc0| 6f 6d 69 6e 74 2d 6d 6f | 64 65 2d 6d 61 70 20 6e |omint-mo|de-map n|
|00001bd0| 69 6c 20 63 75 72 72 65 | 6e 74 2d 6c 6f 61 64 2d |il curre|nt-load-|
|00001be0| 6c 69 73 74 5d 20 32 29 | 0a 23 40 31 32 36 20 4e |list] 2)|.#@126 N|
|00001bf0| 6f 6e 2d 6e 69 6c 20 69 | 66 20 63 6f 6d 6d 75 6e |on-nil i|f commun|
|00001c00| 69 63 61 74 69 6f 6e 73 | 20 76 69 61 20 70 74 79 |ications| via pty|
|00001c10| 3b 20 66 61 6c 73 65 20 | 69 66 20 62 79 20 70 69 |; false |if by pi|
|00001c20| 70 65 2e 20 20 42 75 66 | 66 65 72 20 6c 6f 63 61 |pe. Buf|fer loca|
|00001c30| 6c 2e 0a 54 68 69 73 20 | 69 73 20 74 6f 20 77 6f |l..This |is to wo|
|00001c40| 72 6b 20 61 72 6f 75 6e | 64 20 61 20 62 75 67 20 |rk aroun|d a bug |
|00001c50| 69 6e 20 45 6d 61 63 73 | 20 70 72 6f 63 65 73 73 |in Emacs| process|
|00001c60| 20 73 69 67 6e 61 6c 69 | 6e 67 2e 1f 0a 28 64 65 | signali|ng...(de|
|00001c70| 66 76 61 72 20 63 6f 6d | 69 6e 74 2d 70 74 79 70 |fvar com|int-ptyp|
|00001c80| 20 74 20 28 23 24 20 2e | 20 37 31 35 31 29 29 0a | t (#$ .| 7151)).|
|00001c90| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 c1 21 84 |(byte-co|de "..!.|
|00001ca0| 08 00 c2 11 c1 0b 42 13 | c4 0b 42 13 c5 0b 42 13 |......B.|..B...B.|
|00001cb0| c6 0b 42 13 c2 87 22 20 | 5b 62 6f 75 6e 64 70 20 |..B..." |[boundp |
|00001cc0| 63 6f 6d 69 6e 74 2d 69 | 6e 70 75 74 2d 72 69 6e |comint-i|nput-rin|
|00001cd0| 67 20 6e 69 6c 20 63 75 | 72 72 65 6e 74 2d 6c 6f |g nil cu|rrent-lo|
|00001ce0| 61 64 2d 6c 69 73 74 20 | 63 6f 6d 69 6e 74 2d 6c |ad-list |comint-l|
|00001cf0| 61 73 74 2d 69 6e 70 75 | 74 2d 73 74 61 72 74 20 |ast-inpu|t-start |
|00001d00| 63 6f 6d 69 6e 74 2d 6c | 61 73 74 2d 69 6e 70 75 |comint-l|ast-inpu|
|00001d10| 74 2d 65 6e 64 20 63 6f | 6d 69 6e 74 2d 6c 61 73 |t-end co|mint-las|
|00001d20| 74 2d 6f 75 74 70 75 74 | 2d 73 74 61 72 74 5d 20 |t-output|-start] |
|00001d30| 32 29 0a 23 40 34 30 20 | 49 6e 64 65 78 20 6f 66 |2).#@40 |Index of|
|00001d40| 20 6c 61 73 74 20 6d 61 | 74 63 68 65 64 20 68 69 | last ma|tched hi|
|00001d50| 73 74 6f 72 79 20 65 6c | 65 6d 65 6e 74 2e 1f 0a |story el|ement...|
|00001d60| 28 64 65 66 76 61 72 20 | 63 6f 6d 69 6e 74 2d 69 |(defvar |comint-i|
|00001d70| 6e 70 75 74 2d 72 69 6e | 67 2d 69 6e 64 65 78 20 |nput-rin|g-index |
|00001d80| 6e 69 6c 20 28 23 24 20 | 2e 20 37 34 38 30 29 29 |nil (#$ |. 7480))|
|00001d90| 0a 23 40 34 37 20 49 6e | 70 75 74 20 70 72 65 76 |.#@47 In|put prev|
|00001da0| 69 6f 75 73 6c 79 20 75 | 73 65 64 20 74 6f 20 6d |iously u|sed to m|
|00001db0| 61 74 63 68 20 69 6e 70 | 75 74 20 68 69 73 74 6f |atch inp|ut histo|
|00001dc0| 72 79 2e 1f 0a 28 64 65 | 66 76 61 72 20 63 6f 6d |ry...(de|fvar com|
|00001dd0| 69 6e 74 2d 6d 61 74 63 | 68 69 6e 67 2d 69 6e 70 |int-matc|hing-inp|
|00001de0| 75 74 2d 66 72 6f 6d 2d | 69 6e 70 75 74 2d 73 74 |ut-from-|input-st|
|00001df0| 72 69 6e 67 20 22 22 20 | 28 23 24 20 2e 20 37 35 |ring "" |(#$ . 75|
|00001e00| 37 34 29 29 0a 28 62 79 | 74 65 2d 63 6f 64 65 20 |74)).(by|te-code |
|00001e10| 22 c0 c1 c2 c3 23 88 c0 | c4 c5 c6 23 88 c0 c7 c5 |"....#..|...#....|
|00001e20| c6 23 88 c0 c3 c5 c6 23 | 88 c0 c8 c5 c6 23 88 c0 |.#.....#|.....#..|
|00001e30| c9 c5 c6 23 88 c0 ca c5 | c6 23 88 c0 cb c5 c6 23 |...#....|.#.....#|
|00001e40| 88 c0 cc c5 c6 23 88 c0 | cd c5 c6 23 87 22 20 5b |.....#..|...#." [|
|00001e50| 70 75 74 20 63 6f 6d 69 | 6e 74 2d 72 65 70 6c 61 |put comi|nt-repla|
|00001e60| 63 65 2d 62 79 2d 65 78 | 70 61 6e 64 65 64 2d 68 |ce-by-ex|panded-h|
|00001e70| 69 73 74 6f 72 79 20 6d | 65 6e 75 2d 65 6e 61 62 |istory m|enu-enab|
|00001e80| 6c 65 20 63 6f 6d 69 6e | 74 2d 69 6e 70 75 74 2d |le comin|t-input-|
|00001e90| 61 75 74 6f 65 78 70 61 | 6e 64 20 63 6f 6d 69 6e |autoexpa|nd comin|
|00001ea0| 74 2d 69 6e 70 75 74 2d | 72 69 6e 67 20 70 65 72 |t-input-|ring per|
|00001eb0| 6d 61 6e 65 6e 74 2d 6c | 6f 63 61 6c 20 74 20 63 |manent-l|ocal t c|
|00001ec0| 6f 6d 69 6e 74 2d 69 6e | 70 75 74 2d 72 69 6e 67 |omint-in|put-ring|
|00001ed0| 2d 69 6e 64 65 78 20 63 | 6f 6d 69 6e 74 2d 69 6e |-index c|omint-in|
|00001ee0| 70 75 74 2d 66 69 6c 74 | 65 72 2d 66 75 6e 63 74 |put-filt|er-funct|
|00001ef0| 69 6f 6e 73 20 63 6f 6d | 69 6e 74 2d 6f 75 74 70 |ions com|int-outp|
|00001f00| 75 74 2d 66 69 6c 74 65 | 72 2d 66 75 6e 63 74 69 |ut-filte|r-functi|
|00001f10| 6f 6e 73 20 63 6f 6d 69 | 6e 74 2d 73 63 72 6f 6c |ons comi|nt-scrol|
|00001f20| 6c 2d 74 6f 2d 62 6f 74 | 74 6f 6d 2d 6f 6e 2d 69 |l-to-bot|tom-on-i|
|00001f30| 6e 70 75 74 20 63 6f 6d | 69 6e 74 2d 73 63 72 6f |nput com|int-scro|
|00001f40| 6c 6c 2d 74 6f 2d 62 6f | 74 74 6f 6d 2d 6f 6e 2d |ll-to-bo|ttom-on-|
|00001f50| 6f 75 74 70 75 74 20 63 | 6f 6d 69 6e 74 2d 73 63 |output c|omint-sc|
|00001f60| 72 6f 6c 6c 2d 73 68 6f | 77 2d 6d 61 78 69 6d 75 |roll-sho|w-maximu|
|00001f70| 6d 2d 6f 75 74 70 75 74 | 20 63 6f 6d 69 6e 74 2d |m-output| comint-|
|00001f80| 70 74 79 70 5d 20 34 29 | 0a 23 40 31 36 38 37 20 |ptyp] 4)|.#@1687 |
|00001f90| 4d 61 6a 6f 72 20 6d 6f | 64 65 20 66 6f 72 20 69 |Major mo|de for i|
|00001fa0| 6e 74 65 72 61 63 74 69 | 6e 67 20 77 69 74 68 20 |nteracti|ng with |
|00001fb0| 61 6e 20 69 6e 66 65 72 | 69 6f 72 20 69 6e 74 65 |an infer|ior inte|
|00001fc0| 72 70 72 65 74 65 72 2e | 0a 49 6e 74 65 72 70 72 |rpreter.|.Interpr|
|00001fd0| 65 74 65 72 20 6e 61 6d | 65 20 69 73 20 73 61 6d |eter nam|e is sam|
|00001fe0| 65 20 61 73 20 62 75 66 | 66 65 72 20 6e 61 6d 65 |e as buf|fer name|
|00001ff0| 2c 20 73 61 6e 73 20 74 | 68 65 20 61 73 74 65 72 |, sans t|he aster|
|00002000| 69 73 6b 73 2e 0a 52 65 | 74 75 72 6e 20 61 74 20 |isks..Re|turn at |
|00002010| 65 6e 64 20 6f 66 20 62 | 75 66 66 65 72 20 73 65 |end of b|uffer se|
|00002020| 6e 64 73 20 6c 69 6e 65 | 20 61 73 20 69 6e 70 75 |nds line| as inpu|
|00002030| 74 2e 0a 52 65 74 75 72 | 6e 20 6e 6f 74 20 61 74 |t..Retur|n not at|
|00002040| 20 65 6e 64 20 63 6f 70 | 69 65 73 20 72 65 73 74 | end cop|ies rest|
|00002050| 20 6f 66 20 6c 69 6e 65 | 20 74 6f 20 65 6e 64 20 | of line| to end |
|00002060| 61 6e 64 20 73 65 6e 64 | 73 20 69 74 2e 0a 53 65 |and send|s it..Se|
|00002070| 74 74 69 6e 67 20 76 61 | 72 69 61 62 6c 65 20 60 |tting va|riable `|
|00002080| 63 6f 6d 69 6e 74 2d 65 | 6f 6c 2d 6f 6e 2d 73 65 |comint-e|ol-on-se|
|00002090| 6e 64 27 20 6d 65 61 6e | 73 20 6a 75 6d 70 20 74 |nd' mean|s jump t|
|000020a0| 6f 20 74 68 65 20 65 6e | 64 20 6f 66 20 74 68 65 |o the en|d of the|
|000020b0| 20 6c 69 6e 65 0a 62 65 | 66 6f 72 65 20 73 75 62 | line.be|fore sub|
|000020c0| 6d 69 74 74 69 6e 67 20 | 6e 65 77 20 69 6e 70 75 |mitting |new inpu|
|000020d0| 74 2e 0a 0a 54 68 69 73 | 20 6d 6f 64 65 20 69 73 |t...This| mode is|
|000020e0| 20 63 75 73 74 6f 6d 69 | 73 65 64 20 74 6f 20 63 | customi|sed to c|
|000020f0| 72 65 61 74 65 20 6d 61 | 6a 6f 72 20 6d 6f 64 65 |reate ma|jor mode|
|00002100| 73 20 73 75 63 68 20 61 | 73 20 49 6e 66 65 72 69 |s such a|s Inferi|
|00002110| 6f 72 20 4c 69 73 70 0a | 6d 6f 64 65 2c 20 53 68 |or Lisp.|mode, Sh|
|00002120| 65 6c 6c 20 6d 6f 64 65 | 2c 20 65 74 63 2e 20 20 |ell mode|, etc. |
|00002130| 54 68 69 73 20 63 61 6e | 20 62 65 20 64 6f 6e 65 |This can| be done|
|00002140| 20 62 79 20 73 65 74 74 | 69 6e 67 20 74 68 65 20 | by sett|ing the |
|00002150| 68 6f 6f 6b 73 0a 60 63 | 6f 6d 69 6e 74 2d 69 6e |hooks.`c|omint-in|
|00002160| 70 75 74 2d 66 69 6c 74 | 65 72 2d 66 75 6e 63 74 |put-filt|er-funct|
|00002170| 69 6f 6e 73 27 2c 20 60 | 63 6f 6d 69 6e 74 2d 69 |ions', `|comint-i|
|00002180| 6e 70 75 74 2d 66 69 6c | 74 65 72 27 2c 20 60 63 |nput-fil|ter', `c|
|00002190| 6f 6d 69 6e 74 2d 69 6e | 70 75 74 2d 73 65 6e 64 |omint-in|put-send|
|000021a0| 65 72 27 0a 61 6e 64 20 | 60 63 6f 6d 69 6e 74 2d |er'.and |`comint-|
|000021b0| 67 65 74 2d 6f 6c 64 2d | 69 6e 70 75 74 27 20 74 |get-old-|input' t|
|000021c0| 6f 20 61 70 70 72 6f 70 | 72 69 61 74 65 20 66 75 |o approp|riate fu|
|000021d0| 6e 63 74 69 6f 6e 73 2c | 20 61 6e 64 20 74 68 65 |nctions,| and the|
|000021e0| 20 76 61 72 69 61 62 6c | 65 0a 60 63 6f 6d 69 6e | variabl|e.`comin|
|000021f0| 74 2d 70 72 6f 6d 70 74 | 2d 72 65 67 65 78 70 27 |t-prompt|-regexp'|
|00002200| 20 74 6f 20 74 68 65 20 | 61 70 70 72 6f 70 72 69 | to the |appropri|
|00002210| 61 74 65 20 72 65 67 75 | 6c 61 72 20 65 78 70 72 |ate regu|lar expr|
|00002220| 65 73 73 69 6f 6e 2e 0a | 0a 41 6e 20 69 6e 70 75 |ession..|.An inpu|
|00002230| 74 20 68 69 73 74 6f 72 | 79 20 69 73 20 6d 61 69 |t histor|y is mai|
|00002240| 6e 74 61 69 6e 65 64 20 | 6f 66 20 73 69 7a 65 20 |ntained |of size |
|00002250| 60 63 6f 6d 69 6e 74 2d | 69 6e 70 75 74 2d 72 69 |`comint-|input-ri|
|00002260| 6e 67 2d 73 69 7a 65 27 | 2c 20 61 6e 64 0a 63 61 |ng-size'|, and.ca|
|00002270| 6e 20 62 65 20 61 63 63 | 65 73 73 65 64 20 77 69 |n be acc|essed wi|
|00002280| 74 68 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 73 20 |th the c|ommands |
|00002290| 5c 5b 63 6f 6d 69 6e 74 | 2d 6e 65 78 74 2d 69 6e |\[comint|-next-in|
|000022a0| 70 75 74 5d 2c 20 5c 5b | 63 6f 6d 69 6e 74 2d 70 |put], \[|comint-p|
|000022b0| 72 65 76 69 6f 75 73 2d | 69 6e 70 75 74 5d 2c 20 |revious-|input], |
|000022c0| 61 6e 64 20 5c 5b 63 6f | 6d 69 6e 74 2d 64 79 6e |and \[co|mint-dyn|
|000022d0| 61 6d 69 63 2d 6c 69 73 | 74 2d 69 6e 70 75 74 2d |amic-lis|t-input-|
|000022e0| 72 69 6e 67 5d 2e 0a 49 | 6e 70 75 74 20 72 69 6e |ring]..I|nput rin|
|000022f0| 67 20 68 69 73 74 6f 72 | 79 20 65 78 70 61 6e 73 |g histor|y expans|
|00002300| 69 6f 6e 20 63 61 6e 20 | 62 65 20 61 63 68 69 65 |ion can |be achie|
|00002310| 76 65 64 20 77 69 74 68 | 20 74 68 65 20 63 6f 6d |ved with| the com|
|00002320| 6d 61 6e 64 73 0a 5c 5b | 63 6f 6d 69 6e 74 2d 72 |mands.\[|comint-r|
|00002330| 65 70 6c 61 63 65 2d 62 | 79 2d 65 78 70 61 6e 64 |eplace-b|y-expand|
|00002340| 65 64 2d 68 69 73 74 6f | 72 79 5d 20 6f 72 20 5c |ed-histo|ry] or \|
|00002350| 5b 63 6f 6d 69 6e 74 2d | 6d 61 67 69 63 2d 73 70 |[comint-|magic-sp|
|00002360| 61 63 65 5d 2e 0a 49 6e | 70 75 74 20 72 69 6e 67 |ace]..In|put ring|
|00002370| 20 65 78 70 61 6e 73 69 | 6f 6e 20 69 73 20 63 6f | expansi|on is co|
|00002380| 6e 74 72 6f 6c 6c 65 64 | 20 62 79 20 74 68 65 20 |ntrolled| by the |
|00002390| 76 61 72 69 61 62 6c 65 | 20 60 63 6f 6d 69 6e 74 |variable| `comint|
|000023a0| 2d 69 6e 70 75 74 2d 61 | 75 74 6f 65 78 70 61 6e |-input-a|utoexpan|
|000023b0| 64 27 2c 0a 61 6e 64 20 | 61 64 64 69 74 69 6f 6e |d',.and |addition|
|000023c0| 20 69 73 20 63 6f 6e 74 | 72 6f 6c 6c 65 64 20 62 | is cont|rolled b|
|000023d0| 79 20 74 68 65 20 76 61 | 72 69 61 62 6c 65 20 60 |y the va|riable `|
|000023e0| 63 6f 6d 69 6e 74 2d 69 | 6e 70 75 74 2d 69 67 6e |comint-i|nput-ign|
|000023f0| 6f 72 65 64 75 70 73 27 | 2e 0a 0a 43 6f 6d 6d 61 |oredups'|...Comma|
|00002400| 6e 64 73 20 77 69 74 68 | 20 6e 6f 20 64 65 66 61 |nds with| no defa|
|00002410| 75 6c 74 20 6b 65 79 20 | 62 69 6e 64 69 6e 67 73 |ult key |bindings|
|00002420| 20 69 6e 63 6c 75 64 65 | 20 60 73 65 6e 64 2d 69 | include| `send-i|
|00002430| 6e 76 69 73 69 62 6c 65 | 27 2c 0a 60 63 6f 6d 69 |nvisible|',.`comi|
|00002440| 6e 74 2d 64 79 6e 61 6d | 69 63 2d 63 6f 6d 70 6c |nt-dynam|ic-compl|
|00002450| 65 74 65 27 2c 20 60 63 | 6f 6d 69 6e 74 2d 64 79 |ete', `c|omint-dy|
|00002460| 6e 61 6d 69 63 2d 6c 69 | 73 74 2d 66 69 6c 65 6e |namic-li|st-filen|
|00002470| 61 6d 65 2d 63 6f 6d 70 | 6c 65 74 69 6f 6e 73 27 |ame-comp|letions'|
|00002480| 2c 20 61 6e 64 20 0a 60 | 63 6f 6d 69 6e 74 2d 6d |, and .`|comint-m|
|00002490| 61 67 69 63 2d 73 70 61 | 63 65 27 2e 0a 0a 49 6e |agic-spa|ce'...In|
|000024a0| 70 75 74 20 74 6f 2c 20 | 61 6e 64 20 6f 75 74 70 |put to, |and outp|
|000024b0| 75 74 20 66 72 6f 6d 2c | 20 74 68 65 20 73 75 62 |ut from,| the sub|
|000024c0| 70 72 6f 63 65 73 73 20 | 63 61 6e 20 63 61 75 73 |process |can caus|
|000024d0| 65 20 74 68 65 20 77 69 | 6e 64 6f 77 20 74 6f 20 |e the wi|ndow to |
|000024e0| 73 63 72 6f 6c 6c 20 74 | 6f 0a 74 68 65 20 65 6e |scroll t|o.the en|
|000024f0| 64 20 6f 66 20 74 68 65 | 20 62 75 66 66 65 72 2e |d of the| buffer.|
|00002500| 20 20 53 65 65 20 76 61 | 72 69 61 62 6c 65 73 20 | See va|riables |
|00002510| 60 63 6f 6d 69 6e 74 2d | 6f 75 74 70 75 74 2d 66 |`comint-|output-f|
|00002520| 69 6c 74 65 72 2d 66 75 | 6e 63 74 69 6f 6e 73 27 |ilter-fu|nctions'|
|00002530| 2c 0a 60 63 6f 6d 69 6e | 74 2d 73 63 72 6f 6c 6c |,.`comin|t-scroll|
|00002540| 2d 74 6f 2d 62 6f 74 74 | 6f 6d 2d 6f 6e 2d 69 6e |-to-bott|om-on-in|
|00002550| 70 75 74 27 2c 20 61 6e | 64 20 60 63 6f 6d 69 6e |put', an|d `comin|
|00002560| 74 2d 73 63 72 6f 6c 6c | 2d 74 6f 2d 62 6f 74 74 |t-scroll|-to-bott|
|00002570| 6f 6d 2d 6f 6e 2d 6f 75 | 74 70 75 74 27 2e 0a 0a |om-on-ou|tput'...|
|00002580| 49 66 20 79 6f 75 20 61 | 63 63 69 64 65 6e 74 61 |If you a|ccidenta|
|00002590| 6c 6c 79 20 73 75 73 70 | 65 6e 64 20 79 6f 75 72 |lly susp|end your|
|000025a0| 20 70 72 6f 63 65 73 73 | 2c 20 75 73 65 20 5c 5b | process|, use \[|
|000025b0| 63 6f 6d 69 6e 74 2d 63 | 6f 6e 74 69 6e 75 65 2d |comint-c|ontinue-|
|000025c0| 73 75 62 6a 6f 62 5d 0a | 74 6f 20 63 6f 6e 74 69 |subjob].|to conti|
|000025d0| 6e 75 65 20 69 74 2e 0a | 0a 5c 7b 63 6f 6d 69 6e |nue it..|.\{comin|
|000025e0| 74 2d 6d 6f 64 65 2d 6d | 61 70 7d 0a 0a 45 6e 74 |t-mode-m|ap}..Ent|
|000025f0| 72 79 20 74 6f 20 74 68 | 69 73 20 6d 6f 64 65 20 |ry to th|is mode |
|00002600| 72 75 6e 73 20 74 68 65 | 20 68 6f 6f 6b 73 20 6f |runs the| hooks o|
|00002610| 6e 20 60 63 6f 6d 69 6e | 74 2d 6d 6f 64 65 2d 68 |n `comin|t-mode-h|
|00002620| 6f 6f 6b 27 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |ook'...(|defalias|
|00002630| 20 27 63 6f 6d 69 6e 74 | 2d 6d 6f 64 65 20 23 5b | 'comint|-mode #[|
|00002640| 6e 69 6c 20 22 c0 20 88 | c1 12 c3 14 c5 16 06 c7 |nil ". .|........|
|00002650| 0e 08 21 88 c9 ca 21 88 | cb 20 89 16 5c 6e 65 cc |..!...!.|. ..\ne.|
|00002660| 93 88 c9 cd 21 88 cb 20 | 89 16 0d 65 cc 93 88 c9 |....!.. |...e....|
|00002670| ce 21 88 cb 20 16 0e c9 | cf 21 88 c9 d0 21 88 c9 |.!.. ...|.!...!..|
|00002680| d1 21 88 c9 d2 21 88 d3 | d1 21 83 4c 00 0e 11 84 |.!...!..|.!.L....|
|00002690| 52 00 d4 0e 10 21 16 11 | c9 d5 21 88 d3 d5 21 83 |R....!..|..!...!.|
|000026a0| 61 00 0e 15 84 64 00 cc | 16 15 c9 d6 21 88 c9 d7 |a....d..|....!...|
|000026b0| 21 88 c9 d8 21 88 c9 d9 | 21 88 da db 21 88 c9 dc |!...!...|!...!...|
|000026c0| 21 88 c9 dd 21 88 da de | 21 88 c9 df 21 88 c9 e0 |!...!...|!...!...|
|000026d0| 21 88 c9 e1 21 88 c9 e2 | 21 88 c9 e3 21 88 c9 e4 |!...!...|!...!...|
|000026e0| 21 88 c9 e5 21 88 e6 e5 | e7 5c 22 88 da e8 21 88 |!...!...|.\"...!.|
|000026f0| c9 e9 21 88 c9 ea 21 88 | c9 eb 21 88 c9 ec 21 88 |..!...!.|..!...!.|
|00002700| c9 ed 21 88 ee ef 21 87 | 22 20 5b 6b 69 6c 6c 2d |..!...!.|" [kill-|
|00002710| 61 6c 6c 2d 6c 6f 63 61 | 6c 2d 76 61 72 69 61 62 |all-loca|l-variab|
|00002720| 6c 65 73 20 63 6f 6d 69 | 6e 74 2d 6d 6f 64 65 20 |les comi|nt-mode |
|00002730| 6d 61 6a 6f 72 2d 6d 6f | 64 65 20 22 43 6f 6d 69 |major-mo|de "Comi|
|00002740| 6e 74 22 20 6d 6f 64 65 | 2d 6e 61 6d 65 20 28 22 |nt" mode|-name ("|
|00002750| 3a 25 73 22 29 20 6d 6f | 64 65 2d 6c 69 6e 65 2d |:%s") mo|de-line-|
|00002760| 70 72 6f 63 65 73 73 20 | 75 73 65 2d 6c 6f 63 61 |process |use-loca|
|00002770| 6c 2d 6d 61 70 20 63 6f | 6d 69 6e 74 2d 6d 6f 64 |l-map co|mint-mod|
|00002780| 65 2d 6d 61 70 20 6d 61 | 6b 65 2d 6c 6f 63 61 6c |e-map ma|ke-local|
|00002790| 2d 76 61 72 69 61 62 6c | 65 20 63 6f 6d 69 6e 74 |-variabl|e comint|
|000027a0| 2d 6c 61 73 74 2d 69 6e | 70 75 74 2d 73 74 61 72 |-last-in|put-star|
|000027b0| 74 20 6d 61 6b 65 2d 6d | 61 72 6b 65 72 20 6e 69 |t make-m|arker ni|
|000027c0| 6c 20 63 6f 6d 69 6e 74 | 2d 6c 61 73 74 2d 69 6e |l comint|-last-in|
|000027d0| 70 75 74 2d 65 6e 64 20 | 63 6f 6d 69 6e 74 2d 6c |put-end |comint-l|
|000027e0| 61 73 74 2d 6f 75 74 70 | 75 74 2d 73 74 61 72 74 |ast-outp|ut-start|
|000027f0| 20 63 6f 6d 69 6e 74 2d | 70 72 6f 6d 70 74 2d 72 | comint-|prompt-r|
|00002800| 65 67 65 78 70 20 63 6f | 6d 69 6e 74 2d 69 6e 70 |egexp co|mint-inp|
|00002810| 75 74 2d 72 69 6e 67 2d | 73 69 7a 65 20 63 6f 6d |ut-ring-|size com|
|00002820| 69 6e 74 2d 69 6e 70 75 | 74 2d 72 69 6e 67 20 63 |int-inpu|t-ring c|
|00002830| 6f 6d 69 6e 74 2d 69 6e | 70 75 74 2d 72 69 6e 67 |omint-in|put-ring|
|00002840| 2d 66 69 6c 65 2d 6e 61 | 6d 65 20 62 6f 75 6e 64 |-file-na|me bound|
|00002850| 70 20 6d 61 6b 65 2d 72 | 69 6e 67 20 63 6f 6d 69 |p make-r|ing comi|
|00002860| 6e 74 2d 69 6e 70 75 74 | 2d 72 69 6e 67 2d 69 6e |nt-input|-ring-in|
|00002870| 64 65 78 20 63 6f 6d 69 | 6e 74 2d 6d 61 74 63 68 |dex comi|nt-match|
|00002880| 69 6e 67 2d 69 6e 70 75 | 74 2d 66 72 6f 6d 2d 69 |ing-inpu|t-from-i|
|00002890| 6e 70 75 74 2d 73 74 72 | 69 6e 67 20 63 6f 6d 69 |nput-str|ing comi|
|000028a0| 6e 74 2d 69 6e 70 75 74 | 2d 61 75 74 6f 65 78 70 |nt-input|-autoexp|
|000028b0| 61 6e 64 20 63 6f 6d 69 | 6e 74 2d 69 6e 70 75 74 |and comi|nt-input|
|000028c0| 2d 69 67 6e 6f 72 65 64 | 75 70 73 20 63 6f 6d 69 |-ignored|ups comi|
|000028d0| 6e 74 2d 64 65 6c 69 6d | 69 74 65 72 2d 61 72 67 |nt-delim|iter-arg|
|000028e0| 75 6d 65 6e 74 2d 6c 69 | 73 74 20 6d 61 6b 65 2d |ument-li|st make-|
|000028f0| 6c 6f 63 61 6c 2d 68 6f | 6f 6b 20 63 6f 6d 69 6e |local-ho|ok comin|
|00002900| 74 2d 64 79 6e 61 6d 69 | 63 2d 63 6f 6d 70 6c 65 |t-dynami|c-comple|
|00002910| 74 65 2d 66 75 6e 63 74 | 69 6f 6e 73 20 63 6f 6d |te-funct|ions com|
|00002920| 69 6e 74 2d 63 6f 6d 70 | 6c 65 74 69 6f 6e 2d 66 |int-comp|letion-f|
|00002930| 69 67 6e 6f 72 65 20 63 | 6f 6d 69 6e 74 2d 67 65 |ignore c|omint-ge|
|00002940| 74 2d 6f 6c 64 2d 69 6e | 70 75 74 20 63 6f 6d 69 |t-old-in|put comi|
|00002950| 6e 74 2d 69 6e 70 75 74 | 2d 66 69 6c 74 65 72 2d |nt-input|-filter-|
|00002960| 66 75 6e 63 74 69 6f 6e | 73 20 63 6f 6d 69 6e 74 |function|s comint|
|00002970| 2d 69 6e 70 75 74 2d 66 | 69 6c 74 65 72 20 63 6f |-input-f|ilter co|
|00002980| 6d 69 6e 74 2d 69 6e 70 | 75 74 2d 73 65 6e 64 65 |mint-inp|ut-sende|
|00002990| 72 20 63 6f 6d 69 6e 74 | 2d 65 6f 6c 2d 6f 6e 2d |r comint|-eol-on-|
|000029a0| 73 65 6e 64 20 63 6f 6d | 69 6e 74 2d 73 63 72 6f |send com|int-scro|
|000029b0| 6c 6c 2d 74 6f 2d 62 6f | 74 74 6f 6d 2d 6f 6e 2d |ll-to-bo|ttom-on-|
|000029c0| 69 6e 70 75 74 20 63 6f | 6d 69 6e 74 2d 73 63 72 |input co|mint-scr|
|000029d0| 6f 6c 6c 2d 74 6f 2d 62 | 6f 74 74 6f 6d 2d 6f 6e |oll-to-b|ottom-on|
|000029e0| 2d 6f 75 74 70 75 74 20 | 63 6f 6d 69 6e 74 2d 73 |-output |comint-s|
|000029f0| 63 72 6f 6c 6c 2d 73 68 | 6f 77 2d 6d 61 78 69 6d |croll-sh|ow-maxim|
|00002a00| 75 6d 2d 6f 75 74 70 75 | 74 20 70 72 65 2d 63 6f |um-outpu|t pre-co|
|00002a10| 6d 6d 61 6e 64 2d 68 6f | 6f 6b 20 61 64 64 2d 68 |mmand-ho|ok add-h|
|00002a20| 6f 6f 6b 20 63 6f 6d 69 | 6e 74 2d 70 72 65 69 6e |ook comi|nt-prein|
|00002a30| 70 75 74 2d 73 63 72 6f | 6c 6c 2d 74 6f 2d 62 6f |put-scro|ll-to-bo|
|00002a40| 74 74 6f 6d 20 63 6f 6d | 69 6e 74 2d 6f 75 74 70 |ttom com|int-outp|
|00002a50| 75 74 2d 66 69 6c 74 65 | 72 2d 66 75 6e 63 74 69 |ut-filte|r-functi|
|00002a60| 6f 6e 73 20 63 6f 6d 69 | 6e 74 2d 70 74 79 70 20 |ons comi|nt-ptyp |
|00002a70| 63 6f 6d 69 6e 74 2d 65 | 78 65 63 2d 68 6f 6f 6b |comint-e|xec-hook|
|00002a80| 20 63 6f 6d 69 6e 74 2d | 70 72 6f 63 65 73 73 2d | comint-|process-|
|00002a90| 65 63 68 6f 65 73 20 63 | 6f 6d 69 6e 74 2d 66 69 |echoes c|omint-fi|
|00002aa0| 6c 65 2d 6e 61 6d 65 2d | 63 68 61 72 73 20 63 6f |le-name-|chars co|
|00002ab0| 6d 69 6e 74 2d 66 69 6c | 65 2d 6e 61 6d 65 2d 71 |mint-fil|e-name-q|
|00002ac0| 75 6f 74 65 2d 6c 69 73 | 74 20 72 75 6e 2d 68 6f |uote-lis|t run-ho|
|00002ad0| 6f 6b 73 20 63 6f 6d 69 | 6e 74 2d 6d 6f 64 65 2d |oks comi|nt-mode-|
|00002ae0| 68 6f 6f 6b 5d 20 34 20 | 28 23 24 20 2e 20 38 30 |hook] 4 |(#$ . 80|
|00002af0| 38 30 29 20 6e 69 6c 5d | 29 0a 28 62 79 74 65 2d |80) nil]|).(byte-|
|00002b00| 63 6f 64 65 20 22 08 84 | c6 01 c1 20 10 c2 08 c3 |code "..|... ....|
|00002b10| c4 23 88 c2 08 c5 c6 23 | 88 c2 08 c7 c4 23 88 c2 |.#.....#|.....#..|
|00002b20| 08 c8 c6 23 88 c2 08 c9 | ca 23 88 c2 08 cb cc 23 |...#....|.#.....#|
|00002b30| 88 c2 08 cd ce 23 88 c2 | 08 cf d0 23 88 c2 08 d1 |.....#..|...#....|
|00002b40| d2 23 88 c2 08 d3 d4 23 | 88 c2 08 d5 d6 23 88 c2 |.#.....#|.....#..|
|00002b50| 08 d7 d8 23 88 c2 08 d9 | da 23 88 c2 08 db dc 23 |...#....|.#.....#|
|00002b60| 88 c2 08 dd de 23 88 c2 | 08 df e0 23 88 c2 08 e1 |.....#..|...#....|
|00002b70| e2 23 88 c2 08 e3 e4 23 | 88 c2 08 e5 e6 23 88 c2 |.#.....#|.....#..|
|00002b80| 08 e7 d2 23 88 c2 08 e8 | e9 23 88 c2 08 ea eb 23 |...#....|.#.....#|
|00002b90| 88 c2 08 ec ed 23 88 c2 | 08 ee ef 23 88 c2 08 f0 |.....#..|...#....|
|00002ba0| f1 23 88 c2 08 f2 f3 c1 | f3 21 42 23 88 c2 08 f4 |.#......|.!B#....|
|00002bb0| f5 23 88 c2 08 f6 f7 23 | 88 c2 08 f8 f9 23 88 c2 |.#.....#|.....#..|
|00002bc0| 08 fa fb 23 88 c2 08 fc | fd c1 fd 21 42 23 88 c2 |...#....|...!B#..|
|00002bd0| 08 fe ff 23 88 c2 08 81 | 40 00 81 41 00 23 88 c2 |...#....|@..A.#..|
|00002be0| 08 81 42 00 81 43 00 23 | 88 c2 08 81 44 00 81 45 |..B..C.#|....D..E|
|00002bf0| 00 23 88 c2 08 81 46 00 | 81 47 00 23 88 c2 08 81 |.#....F.|.G.#....|
|00002c00| 48 00 81 49 00 23 88 c2 | 08 81 4a 00 81 4b 00 23 |H..I.#..|..J..K.#|
|00002c10| 88 c2 08 81 4c 00 81 4d | 00 23 88 c2 08 81 4e 00 |....L..M|.#....N.|
|00002c20| 81 4f 00 23 88 c2 08 81 | 50 00 81 51 00 23 88 c2 |.O.#....|P..Q.#..|
|00002c30| 08 81 52 00 81 53 00 23 | 88 c2 08 81 54 00 81 55 |..R..S.#|....T..U|
|00002c40| 00 23 88 c2 08 81 56 00 | 81 57 00 23 88 c2 08 81 |.#....V.|.W.#....|
|00002c50| 58 00 81 59 00 23 88 c2 | 08 81 5a 00 81 5b 00 23 |X..Y.#..|..Z..[.#|
|00002c60| 88 c2 08 81 5c 5c 00 81 | 5d 00 23 88 c2 08 81 5e |....\\..|].#....^|
|00002c70| 00 81 5f 00 23 88 c2 08 | 81 60 00 81 61 00 c1 81 |.._.#...|.`..a...|
|00002c80| 61 00 21 42 23 88 c2 08 | 81 62 00 81 63 00 23 88 |a.!B#...|.b..c.#.|
|00002c90| c2 08 81 64 00 81 65 00 | 23 88 c2 08 81 66 00 81 |...d..e.|#....f..|
|00002ca0| 67 00 23 88 c2 08 81 68 | 00 81 69 00 23 88 c2 08 |g.#....h|..i.#...|
|00002cb0| 81 6a 00 81 6b 00 23 88 | c2 08 81 6c 00 81 6d 00 |.j..k.#.|...l..m.|
|00002cc0| 23 88 81 6e 00 81 6f 00 | 0e 70 5c 22 16 70 c1 87 |#..n..o.|.p\".p..|
|00002cd0| 22 20 5b 63 6f 6d 69 6e | 74 2d 6d 6f 64 65 2d 6d |" [comin|t-mode-m|
|00002ce0| 61 70 20 6d 61 6b 65 2d | 73 70 61 72 73 65 2d 6b |ap make-|sparse-k|
|00002cf0| 65 79 6d 61 70 20 64 65 | 66 69 6e 65 2d 6b 65 79 |eymap de|fine-key|
|00002d00| 20 22 1b 70 22 20 63 6f | 6d 69 6e 74 2d 70 72 65 | ".p" co|mint-pre|
|00002d10| 76 69 6f 75 73 2d 69 6e | 70 75 74 20 22 1b 6e 22 |vious-in|put ".n"|
|00002d20| 20 63 6f 6d 69 6e 74 2d | 6e 65 78 74 2d 69 6e 70 | comint-|next-inp|
|00002d30| 75 74 20 5b 43 2d 75 70 | 5d 20 5b 43 2d 64 6f 77 |ut [C-up|] [C-dow|
|00002d40| 6e 5d 20 22 1b 72 22 20 | 63 6f 6d 69 6e 74 2d 70 |n] ".r" |comint-p|
|00002d50| 72 65 76 69 6f 75 73 2d | 6d 61 74 63 68 69 6e 67 |revious-|matching|
|00002d60| 2d 69 6e 70 75 74 20 22 | 1b 73 22 20 63 6f 6d 69 |-input "|.s" comi|
|00002d70| 6e 74 2d 6e 65 78 74 2d | 6d 61 74 63 68 69 6e 67 |nt-next-|matching|
|00002d80| 2d 69 6e 70 75 74 20 5b | 2d 31 33 30 30 32 33 33 |-input [|-1300233|
|00002d90| 31 30 5d 20 63 6f 6d 69 | 6e 74 2d 70 72 65 76 69 |10] comi|nt-previ|
|00002da0| 6f 75 73 2d 6d 61 74 63 | 68 69 6e 67 2d 69 6e 70 |ous-matc|hing-inp|
|00002db0| 75 74 2d 66 72 6f 6d 2d | 69 6e 70 75 74 20 5b 2d |ut-from-|input [-|
|00002dc0| 31 33 30 30 32 33 33 30 | 39 5d 20 63 6f 6d 69 6e |13002330|9] comin|
|00002dd0| 74 2d 6e 65 78 74 2d 6d | 61 74 63 68 69 6e 67 2d |t-next-m|atching-|
|00002de0| 69 6e 70 75 74 2d 66 72 | 6f 6d 2d 69 6e 70 75 74 |input-fr|om-input|
|00002df0| 20 22 1b 5c 66 22 20 63 | 6f 6d 69 6e 74 2d 73 68 | ".\f" c|omint-sh|
|00002e00| 6f 77 2d 6f 75 74 70 75 | 74 20 22 0d 22 20 63 6f |ow-outpu|t "." co|
|00002e10| 6d 69 6e 74 2d 73 65 6e | 64 2d 69 6e 70 75 74 20 |mint-sen|d-input |
|00002e20| 22 04 22 20 63 6f 6d 69 | 6e 74 2d 64 65 6c 63 68 |"." comi|nt-delch|
|00002e30| 61 72 2d 6f 72 2d 6d 61 | 79 62 65 2d 65 6f 66 20 |ar-or-ma|ybe-eof |
|00002e40| 22 03 01 22 20 63 6f 6d | 69 6e 74 2d 62 6f 6c 20 |".." com|int-bol |
|00002e50| 22 03 15 22 20 63 6f 6d | 69 6e 74 2d 6b 69 6c 6c |".." com|int-kill|
|00002e60| 2d 69 6e 70 75 74 20 22 | 03 17 22 20 62 61 63 6b |-input "|.." back|
|00002e70| 77 61 72 64 2d 6b 69 6c | 6c 2d 77 6f 72 64 20 22 |ward-kil|l-word "|
|00002e80| 03 03 22 20 63 6f 6d 69 | 6e 74 2d 69 6e 74 65 72 |.." comi|nt-inter|
|00002e90| 72 75 70 74 2d 73 75 62 | 6a 6f 62 20 22 03 1a 22 |rupt-sub|job ".."|
|00002ea0| 20 63 6f 6d 69 6e 74 2d | 73 74 6f 70 2d 73 75 62 | comint-|stop-sub|
|00002eb0| 6a 6f 62 20 22 03 1c 22 | 20 63 6f 6d 69 6e 74 2d |job ".."| comint-|
|00002ec0| 71 75 69 74 2d 73 75 62 | 6a 6f 62 20 22 03 0d 22 |quit-sub|job ".."|
|00002ed0| 20 63 6f 6d 69 6e 74 2d | 63 6f 70 79 2d 6f 6c 64 | comint-|copy-old|
|00002ee0| 2d 69 6e 70 75 74 20 22 | 03 0f 22 20 63 6f 6d 69 |-input "|.." comi|
|00002ef0| 6e 74 2d 6b 69 6c 6c 2d | 6f 75 74 70 75 74 20 22 |nt-kill-|output "|
|00002f00| 03 12 22 20 22 03 05 22 | 20 63 6f 6d 69 6e 74 2d |.." ".."| comint-|
|00002f10| 73 68 6f 77 2d 6d 61 78 | 69 6d 75 6d 2d 6f 75 74 |show-max|imum-out|
|00002f20| 70 75 74 20 22 03 5c 66 | 22 20 63 6f 6d 69 6e 74 |put ".\f|" comint|
|00002f30| 2d 64 79 6e 61 6d 69 63 | 2d 6c 69 73 74 2d 69 6e |-dynamic|-list-in|
|00002f40| 70 75 74 2d 72 69 6e 67 | 20 22 03 0e 22 20 63 6f |put-ring| ".." co|
|00002f50| 6d 69 6e 74 2d 6e 65 78 | 74 2d 70 72 6f 6d 70 74 |mint-nex|t-prompt|
|00002f60| 20 22 03 10 22 20 63 6f | 6d 69 6e 74 2d 70 72 65 | ".." co|mint-pre|
|00002f70| 76 69 6f 75 73 2d 70 72 | 6f 6d 70 74 20 22 03 04 |vious-pr|ompt "..|
|00002f80| 22 20 63 6f 6d 69 6e 74 | 2d 73 65 6e 64 2d 65 6f |" comint|-send-eo|
|00002f90| 66 20 5b 6d 65 6e 75 2d | 62 61 72 20 63 6f 6d 70 |f [menu-|bar comp|
|00002fa0| 6c 65 74 69 6f 6e 5d 20 | 22 43 6f 6d 70 6c 65 74 |letion] |"Complet|
|00002fb0| 65 22 20 5b 6d 65 6e 75 | 2d 62 61 72 20 63 6f 6d |e" [menu|-bar com|
|00002fc0| 70 6c 65 74 69 6f 6e 20 | 63 6f 6d 70 6c 65 74 65 |pletion |complete|
|00002fd0| 2d 65 78 70 61 6e 64 5d | 20 28 22 45 78 70 61 6e |-expand]| ("Expan|
|00002fe0| 64 20 46 69 6c 65 20 4e | 61 6d 65 22 20 2e 20 63 |d File N|ame" . c|
|00002ff0| 6f 6d 69 6e 74 2d 72 65 | 70 6c 61 63 65 2d 62 79 |omint-re|place-by|
|00003000| 2d 65 78 70 61 6e 64 65 | 64 2d 66 69 6c 65 6e 61 |-expande|d-filena|
|00003010| 6d 65 29 20 5b 6d 65 6e | 75 2d 62 61 72 20 63 6f |me) [men|u-bar co|
|00003020| 6d 70 6c 65 74 69 6f 6e | 20 63 6f 6d 70 6c 65 74 |mpletion| complet|
|00003030| 65 2d 6c 69 73 74 69 6e | 67 5d 20 28 22 46 69 6c |e-listin|g] ("Fil|
|00003040| 65 20 43 6f 6d 70 6c 65 | 74 69 6f 6e 20 4c 69 73 |e Comple|tion Lis|
|00003050| 74 69 6e 67 22 20 2e 20 | 63 6f 6d 69 6e 74 2d 64 |ting" . |comint-d|
|00003060| 79 6e 61 6d 69 63 2d 6c | 69 73 74 2d 66 69 6c 65 |ynamic-l|ist-file|
|00003070| 6e 61 6d 65 2d 63 6f 6d | 70 6c 65 74 69 6f 6e 73 |name-com|pletions|
|00003080| 29 20 5b 6d 65 6e 75 2d | 62 61 72 20 63 6f 6d 70 |) [menu-|bar comp|
|00003090| 6c 65 74 69 6f 6e 20 63 | 6f 6d 70 6c 65 74 65 2d |letion c|omplete-|
|000030a0| 66 69 6c 65 5d 20 28 22 | 43 6f 6d 70 6c 65 74 65 |file] ("|Complete|
|000030b0| 20 46 69 6c 65 20 4e 61 | 6d 65 22 20 2e 20 63 6f | File Na|me" . co|
|000030c0| 6d 69 6e 74 2d 64 79 6e | 61 6d 69 63 2d 63 6f 6d |mint-dyn|amic-com|
|000030d0| 70 6c 65 74 65 2d 66 69 | 6c 65 6e 61 6d 65 29 20 |plete-fi|lename) |
|000030e0| 5b 6d 65 6e 75 2d 62 61 | 72 20 63 6f 6d 70 6c 65 |[menu-ba|r comple|
|000030f0| 74 69 6f 6e 20 63 6f 6d | 70 6c 65 74 65 5d 20 28 |tion com|plete] (|
|00003100| 22 43 6f 6d 70 6c 65 74 | 65 20 42 65 66 6f 72 65 |"Complet|e Before|
|00003110| 20 50 6f 69 6e 74 22 20 | 2e 20 63 6f 6d 69 6e 74 | Point" |. comint|
|00003120| 2d 64 79 6e 61 6d 69 63 | 2d 63 6f 6d 70 6c 65 74 |-dynamic|-complet|
|00003130| 65 29 20 5b 6d 65 6e 75 | 2d 62 61 72 20 69 6e 6f |e) [menu|-bar ino|
|00003140| 75 74 5d 20 22 49 6e 2f | 4f 75 74 22 20 5b 6d 65 |ut] "In/|Out" [me|
|00003150| 6e 75 2d 62 61 72 20 69 | 6e 6f 75 74 20 6b 69 6c |nu-bar i|nout kil|
|00003160| 6c 2d 6f 75 74 70 75 74 | 5d 20 28 22 4b 69 6c 6c |l-output|] ("Kill|
|00003170| 20 43 75 72 72 65 6e 74 | 20 4f 75 74 70 75 74 20 | Current| Output |
|00003180| 47 72 6f 75 70 22 20 2e | 20 63 6f 6d 69 6e 74 2d |Group" .| comint-|
|00003190| 6b 69 6c 6c 2d 6f 75 74 | 70 75 74 29 20 5b 6d 65 |kill-out|put) [me|
|000031a0| 6e 75 2d 62 61 72 20 69 | 6e 6f 75 74 20 6e 65 78 |nu-bar i|nout nex|
|000031b0| 74 2d 70 72 6f 6d 70 74 | 5d 20 28 22 46 6f 72 77 |t-prompt|] ("Forw|
|000031c0| 61 72 64 20 4f 75 74 70 | 75 74 20 47 72 6f 75 70 |ard Outp|ut Group|
|000031d0| 22 20 2e 20 63 6f 6d 69 | 6e 74 2d 6e 65 78 74 2d |" . comi|nt-next-|
|000031e0| 70 72 6f 6d 70 74 29 20 | 5b 6d 65 6e 75 2d 62 61 |prompt) |[menu-ba|
|000031f0| 72 20 69 6e 6f 75 74 20 | 70 72 65 76 69 6f 75 73 |r inout |previous|
|00003200| 2d 70 72 6f 6d 70 74 5d | 20 28 22 42 61 63 6b 77 |-prompt]| ("Backw|
|00003210| 61 72 64 20 4f 75 74 70 | 75 74 20 47 72 6f 75 70 |ard Outp|ut Group|
|00003220| 22 20 2e 20 63 6f 6d 69 | 6e 74 2d 70 72 65 76 69 |" . comi|nt-previ|
|00003230| 6f 75 73 2d 70 72 6f 6d | 70 74 29 20 5b 6d 65 6e |ous-prom|pt) [men|
|00003240| 75 2d 62 61 72 20 69 6e | 6f 75 74 20 73 68 6f 77 |u-bar in|out show|
|00003250| 2d 6d 61 78 69 6d 75 6d | 2d 6f 75 74 70 75 74 5d |-maximum|-output]|
|00003260| 20 28 22 53 68 6f 77 20 | 4d 61 78 69 6d 75 6d 20 | ("Show |Maximum |
|00003270| 4f 75 74 70 75 74 22 20 | 2e 20 63 6f 6d 69 6e 74 |Output" |. comint|
|00003280| 2d 73 68 6f 77 2d 6d 61 | 78 69 6d 75 6d 2d 6f 75 |-show-ma|ximum-ou|
|00003290| 74 70 75 74 29 20 5b 6d | 65 6e 75 2d 62 61 72 20 |tput) [m|enu-bar |
|000032a0| 69 6e 6f 75 74 20 73 68 | 6f 77 2d 6f 75 74 70 75 |inout sh|ow-outpu|
|000032b0| 74 5d 20 28 22 53 68 6f | 77 20 43 75 72 72 65 6e |t] ("Sho|w Curren|
|000032c0| 74 20 4f 75 74 70 75 74 | 20 47 72 6f 75 70 22 20 |t Output| Group" |
|000032d0| 2e 20 63 6f 6d 69 6e 74 | 2d 73 68 6f 77 2d 6f 75 |. comint|-show-ou|
|000032e0| 74 70 75 74 29 20 5b 6d | 65 6e 75 2d 62 61 72 20 |tput) [m|enu-bar |
|000032f0| 69 6e 6f 75 74 20 6b 69 | 6c 6c 2d 69 6e 70 75 74 |inout ki|ll-input|
|00003300| 5d 20 28 22 4b 69 6c 6c | 20 43 75 72 72 65 6e 74 |] ("Kill| Current|
|00003310| 20 49 6e 70 75 74 22 20 | 2e 20 63 6f 6d 69 6e 74 | Input" |. comint|
|00003320| 2d 6b 69 6c 6c 2d 69 6e | 70 75 74 29 20 5b 6d 65 |-kill-in|put) [me|
|00003330| 6e 75 2d 62 61 72 20 69 | 6e 6f 75 74 20 63 6f 70 |nu-bar i|nout cop|
|00003340| 79 2d 69 6e 70 75 74 5d | 20 28 22 43 6f 70 79 20 |y-input]| ("Copy |
|00003350| 4f 6c 64 20 49 6e 70 75 | 74 22 20 2e 20 63 6f 6d |Old Inpu|t" . com|
|00003360| 69 6e 74 2d 63 6f 70 79 | 2d 6f 6c 64 2d 69 6e 70 |int-copy|-old-inp|
|00003370| 75 74 29 20 5b 6d 65 6e | 75 2d 62 61 72 20 69 6e |ut) [men|u-bar in|
|00003380| 6f 75 74 20 66 6f 72 77 | 61 72 64 2d 6d 61 74 63 |out forw|ard-matc|
|00003390| 68 69 6e 67 2d 68 69 73 | 74 6f 72 79 5d 20 28 22 |hing-his|tory] ("|
|000033a0| 46 6f 72 77 61 72 64 20 | 4d 61 74 63 68 69 6e 67 |Forward |Matching|
|000033b0| 20 49 6e 70 75 74 2e 2e | 2e 22 20 2e 20 63 6f 6d | Input..|." . com|
|000033c0| 69 6e 74 2d 66 6f 72 77 | 61 72 64 2d 6d 61 74 63 |int-forw|ard-matc|
|000033d0| 68 69 6e 67 2d 69 6e 70 | 75 74 29 20 5b 6d 65 6e |hing-inp|ut) [men|
|000033e0| 75 2d 62 61 72 20 69 6e | 6f 75 74 20 62 61 63 6b |u-bar in|out back|
|000033f0| 77 61 72 64 2d 6d 61 74 | 63 68 69 6e 67 2d 68 69 |ward-mat|ching-hi|
|00003400| 73 74 6f 72 79 5d 20 28 | 22 42 61 63 6b 77 61 72 |story] (|"Backwar|
|00003410| 64 20 4d 61 74 63 68 69 | 6e 67 20 49 6e 70 75 74 |d Matchi|ng Input|
|00003420| 2e 2e 2e 22 20 2e 20 63 | 6f 6d 69 6e 74 2d 62 61 |..." . c|omint-ba|
|00003430| 63 6b 77 61 72 64 2d 6d | 61 74 63 68 69 6e 67 2d |ckward-m|atching-|
|00003440| 69 6e 70 75 74 29 20 5b | 6d 65 6e 75 2d 62 61 72 |input) [|menu-bar|
|00003450| 20 69 6e 6f 75 74 20 6e | 65 78 74 2d 6d 61 74 63 | inout n|ext-matc|
|00003460| 68 69 6e 67 2d 68 69 73 | 74 6f 72 79 5d 20 28 22 |hing-his|tory] ("|
|00003470| 4e 65 78 74 20 4d 61 74 | 63 68 69 6e 67 20 49 6e |Next Mat|ching In|
|00003480| 70 75 74 2e 2e 2e 22 20 | 2e 20 63 6f 6d 69 6e 74 |put..." |. comint|
|00003490| 2d 6e 65 78 74 2d 6d 61 | 74 63 68 69 6e 67 2d 69 |-next-ma|tching-i|
|000034a0| 6e 70 75 74 29 20 5b 6d | 65 6e 75 2d 62 61 72 20 |nput) [m|enu-bar |
|000034b0| 69 6e 6f 75 74 20 70 72 | 65 76 69 6f 75 73 2d 6d |inout pr|evious-m|
|000034c0| 61 74 63 68 69 6e 67 2d | 68 69 73 74 6f 72 79 5d |atching-|history]|
|000034d0| 20 28 22 50 72 65 76 69 | 6f 75 73 20 4d 61 74 63 | ("Previ|ous Matc|
|000034e0| 68 69 6e 67 20 49 6e 70 | 75 74 2e 2e 2e 22 20 2e |hing Inp|ut..." .|
|000034f0| 20 63 6f 6d 69 6e 74 2d | 70 72 65 76 69 6f 75 73 | comint-|previous|
|00003500| 2d 6d 61 74 63 68 69 6e | 67 2d 69 6e 70 75 74 29 |-matchin|g-input)|
|00003510| 20 5b 6d 65 6e 75 2d 62 | 61 72 20 69 6e 6f 75 74 | [menu-b|ar inout|
|00003520| 20 6e 65 78 74 2d 6d 61 | 74 63 68 69 6e 67 2d 68 | next-ma|tching-h|
|00003530| 69 73 74 6f 72 79 2d 66 | 72 6f 6d 2d 69 6e 70 75 |istory-f|rom-inpu|
|00003540| 74 5d 20 28 22 4e 65 78 | 74 20 4d 61 74 63 68 69 |t] ("Nex|t Matchi|
|00003550| 6e 67 20 43 75 72 72 65 | 6e 74 20 49 6e 70 75 74 |ng Curre|nt Input|
|00003560| 22 20 2e 20 63 6f 6d 69 | 6e 74 2d 6e 65 78 74 2d |" . comi|nt-next-|
|00003570| 6d 61 74 63 68 69 6e 67 | 2d 69 6e 70 75 74 2d 66 |matching|-input-f|
|00003580| 72 6f 6d 2d 69 6e 70 75 | 74 29 20 5b 6d 65 6e 75 |rom-inpu|t) [menu|
|00003590| 2d 62 61 72 20 69 6e 6f | 75 74 20 70 72 65 76 69 |-bar ino|ut previ|
|000035a0| 6f 75 73 2d 6d 61 74 63 | 68 69 6e 67 2d 68 69 73 |ous-matc|hing-his|
|000035b0| 74 6f 72 79 2d 66 72 6f | 6d 2d 69 6e 70 75 74 5d |tory-fro|m-input]|
|000035c0| 20 28 22 50 72 65 76 69 | 6f 75 73 20 4d 61 74 63 | ("Previ|ous Matc|
|000035d0| 68 69 6e 67 20 43 75 72 | 72 65 6e 74 20 49 6e 70 |hing Cur|rent Inp|
|000035e0| 75 74 22 20 2e 20 63 6f | 6d 69 6e 74 2d 70 72 65 |ut" . co|mint-pre|
|000035f0| 76 69 6f 75 73 2d 6d 61 | 74 63 68 69 6e 67 2d 69 |vious-ma|tching-i|
|00003600| 6e 70 75 74 2d 66 72 6f | 6d 2d 69 6e 70 75 74 29 |nput-fro|m-input)|
|00003610| 20 5b 6d 65 6e 75 2d 62 | 61 72 20 69 6e 6f 75 74 | [menu-b|ar inout|
|00003620| 20 6e 65 78 74 2d 68 69 | 73 74 6f 72 79 5d 20 28 | next-hi|story] (|
|00003630| 22 4e 65 78 74 20 49 6e | 70 75 74 22 20 2e 20 63 |"Next In|put" . c|
|00003640| 6f 6d 69 6e 74 2d 6e 65 | 78 74 2d 69 6e 70 75 74 |omint-ne|xt-input|
|00003650| 29 20 5b 6d 65 6e 75 2d | 62 61 72 20 69 6e 6f 75 |) [menu-|bar inou|
|00003660| 74 20 70 72 65 76 69 6f | 75 73 2d 68 69 73 74 6f |t previo|us-histo|
|00003670| 72 79 5d 20 28 22 50 72 | 65 76 69 6f 75 73 20 49 |ry] ("Pr|evious I|
|00003680| 6e 70 75 74 22 20 2e 20 | 63 6f 6d 69 6e 74 2d 70 |nput" . |comint-p|
|00003690| 72 65 76 69 6f 75 73 2d | 69 6e 70 75 74 29 20 5b |revious-|input) [|
|000036a0| 6d 65 6e 75 2d 62 61 72 | 20 69 6e 6f 75 74 20 6c |menu-bar| inout l|
|000036b0| 69 73 74 2d 68 69 73 74 | 6f 72 79 5d 20 28 22 4c |ist-hist|ory] ("L|
|000036c0| 69 73 74 20 49 6e 70 75 | 74 20 48 69 73 74 6f 72 |ist Inpu|t Histor|
|000036d0| 79 22 20 2e 20 63 6f 6d | 69 6e 74 2d 64 79 6e 61 |y" . com|int-dyna|
|000036e0| 6d 69 63 2d 6c 69 73 74 | 2d 69 6e 70 75 74 2d 72 |mic-list|-input-r|
|000036f0| 69 6e 67 29 20 5b 6d 65 | 6e 75 2d 62 61 72 20 69 |ing) [me|nu-bar i|
|00003700| 6e 6f 75 74 20 65 78 70 | 61 6e 64 2d 68 69 73 74 |nout exp|and-hist|
|00003710| 6f 72 79 5d 20 28 22 45 | 78 70 61 6e 64 20 48 69 |ory] ("E|xpand Hi|
|00003720| 73 74 6f 72 79 20 42 65 | 66 6f 72 65 20 50 6f 69 |story Be|fore Poi|
|00003730| 6e 74 22 20 2e 20 63 6f | 6d 69 6e 74 2d 72 65 70 |nt" . co|mint-rep|
|00003740| 6c 61 63 65 2d 62 79 2d | 65 78 70 61 6e 64 65 64 |lace-by-|expanded|
|00003750| 2d 68 69 73 74 6f 72 79 | 29 20 5b 6d 65 6e 75 2d |-history|) [menu-|
|00003760| 62 61 72 20 73 69 67 6e | 61 6c 73 5d 20 22 53 69 |bar sign|als] "Si|
|00003770| 67 6e 61 6c 73 22 20 5b | 6d 65 6e 75 2d 62 61 72 |gnals" [|menu-bar|
|00003780| 20 73 69 67 6e 61 6c 73 | 20 65 6f 66 5d 20 28 22 | signals| eof] ("|
|00003790| 45 4f 46 22 20 2e 20 63 | 6f 6d 69 6e 74 2d 73 65 |EOF" . c|omint-se|
|000037a0| 6e 64 2d 65 6f 66 29 20 | 5b 6d 65 6e 75 2d 62 61 |nd-eof) |[menu-ba|
|000037b0| 72 20 73 69 67 6e 61 6c | 73 20 6b 69 6c 6c 5d 20 |r signal|s kill] |
|000037c0| 28 22 4b 49 4c 4c 22 20 | 2e 20 63 6f 6d 69 6e 74 |("KILL" |. comint|
|000037d0| 2d 6b 69 6c 6c 2d 73 75 | 62 6a 6f 62 29 20 5b 6d |-kill-su|bjob) [m|
|000037e0| 65 6e 75 2d 62 61 72 20 | 73 69 67 6e 61 6c 73 20 |enu-bar |signals |
|000037f0| 71 75 69 74 5d 20 28 22 | 51 55 49 54 22 20 2e 20 |quit] ("|QUIT" . |
|00003800| 63 6f 6d 69 6e 74 2d 71 | 75 69 74 2d 73 75 62 6a |comint-q|uit-subj|
|00003810| 6f 62 29 20 5b 6d 65 6e | 75 2d 62 61 72 20 73 69 |ob) [men|u-bar si|
|00003820| 67 6e 61 6c 73 20 63 6f | 6e 74 5d 20 28 22 43 4f |gnals co|nt] ("CO|
|00003830| 4e 54 22 20 2e 20 63 6f | 6d 69 6e 74 2d 63 6f 6e |NT" . co|mint-con|
|00003840| 74 69 6e 75 65 2d 73 75 | 62 6a 6f 62 29 20 5b 6d |tinue-su|bjob) [m|
|00003850| 65 6e 75 2d 62 61 72 20 | 73 69 67 6e 61 6c 73 20 |enu-bar |signals |
|00003860| 73 74 6f 70 5d 20 28 22 | 53 54 4f 50 22 20 2e 20 |stop] ("|STOP" . |
|00003870| 63 6f 6d 69 6e 74 2d 73 | 74 6f 70 2d 73 75 62 6a |comint-s|top-subj|
|00003880| 6f 62 29 20 5b 6d 65 6e | 75 2d 62 61 72 20 73 69 |ob) [men|u-bar si|
|00003890| 67 6e 61 6c 73 20 62 72 | 65 61 6b 5d 20 28 22 42 |gnals br|eak] ("B|
|000038a0| 52 45 41 4b 22 20 2e 20 | 63 6f 6d 69 6e 74 2d 69 |REAK" . |comint-i|
|000038b0| 6e 74 65 72 72 75 70 74 | 2d 73 75 62 6a 6f 62 29 |nterrupt|-subjob)|
|000038c0| 20 61 70 70 65 6e 64 20 | 28 63 6f 6d 70 6c 65 74 | append |(complet|
|000038d0| 69 6f 6e 20 69 6e 6f 75 | 74 20 73 69 67 6e 61 6c |ion inou|t signal|
|000038e0| 73 29 20 6d 65 6e 75 2d | 62 61 72 2d 66 69 6e 61 |s) menu-|bar-fina|
|000038f0| 6c 2d 69 74 65 6d 73 5d | 20 36 29 0a 23 40 31 37 |l-items]| 6).#@17|
|00003900| 30 20 52 65 74 75 72 6e | 20 74 20 69 66 20 74 68 |0 Return| t if th|
|00003910| 65 72 65 20 69 73 20 61 | 20 6c 69 76 69 6e 67 20 |ere is a| living |
|00003920| 70 72 6f 63 65 73 73 20 | 61 73 73 6f 63 69 61 74 |process |associat|
|00003930| 65 64 20 77 2f 62 75 66 | 66 65 72 20 42 55 46 46 |ed w/buf|fer BUFF|
|00003940| 45 52 2e 0a 4c 69 76 69 | 6e 67 20 6d 65 61 6e 73 |ER..Livi|ng means|
|00003950| 20 74 68 65 20 73 74 61 | 74 75 73 20 69 73 20 60 | the sta|tus is `|
|00003960| 6f 70 65 6e 27 2c 20 60 | 72 75 6e 27 2c 20 6f 72 |open', `|run', or|
|00003970| 20 60 73 74 6f 70 27 2e | 0a 42 55 46 46 45 52 20 | `stop'.|.BUFFER |
|00003980| 63 61 6e 20 62 65 20 65 | 69 74 68 65 72 20 61 20 |can be e|ither a |
|00003990| 62 75 66 66 65 72 20 6f | 72 20 74 68 65 20 6e 61 |buffer o|r the na|
|000039a0| 6d 65 20 6f 66 20 6f 6e | 65 2e 1f 0a 28 64 65 66 |me of on|e...(def|
|000039b0| 61 6c 69 61 73 20 27 63 | 6f 6d 69 6e 74 2d 63 68 |alias 'c|omint-ch|
|000039c0| 65 63 6b 2d 70 72 6f 63 | 20 23 5b 28 62 75 66 66 |eck-proc| #[(buff|
|000039d0| 65 72 29 20 22 c0 09 21 | 89 1a 85 0d 00 c3 5c 6e |er) "..!|......\n|
|000039e0| 21 c4 3e 29 87 22 20 5b | 67 65 74 2d 62 75 66 66 |!.>)." [|get-buff|
|000039f0| 65 72 2d 70 72 6f 63 65 | 73 73 20 62 75 66 66 65 |er-proce|ss buffe|
|00003a00| 72 20 70 72 6f 63 20 70 | 72 6f 63 65 73 73 2d 73 |r proc p|rocess-s|
|00003a10| 74 61 74 75 73 20 28 6f | 70 65 6e 20 72 75 6e 20 |tatus (o|pen run |
|00003a20| 73 74 6f 70 29 5d 20 33 | 20 28 23 24 20 2e 20 31 |stop)] 3| (#$ . 1|
|00003a30| 34 35 39 34 29 5d 29 0a | 23 40 35 35 39 20 4d 61 |4594)]).|#@559 Ma|
|00003a40| 6b 65 20 61 20 63 6f 6d | 69 6e 74 20 70 72 6f 63 |ke a com|int proc|
|00003a50| 65 73 73 20 4e 41 4d 45 | 20 69 6e 20 61 20 62 75 |ess NAME| in a bu|
|00003a60| 66 66 65 72 2c 20 72 75 | 6e 6e 69 6e 67 20 50 52 |ffer, ru|nning PR|
|00003a70| 4f 47 52 41 4d 2e 0a 54 | 68 65 20 6e 61 6d 65 20 |OGRAM..T|he name |
|00003a80| 6f 66 20 74 68 65 20 62 | 75 66 66 65 72 20 69 73 |of the b|uffer is|
|00003a90| 20 6d 61 64 65 20 62 79 | 20 73 75 72 72 6f 75 6e | made by| surroun|
|00003aa0| 64 69 6e 67 20 4e 41 4d | 45 20 77 69 74 68 20 60 |ding NAM|E with `|
|00003ab0| 2a 27 73 2e 0a 50 52 4f | 47 52 41 4d 20 73 68 6f |*'s..PRO|GRAM sho|
|00003ac0| 75 6c 64 20 62 65 20 65 | 69 74 68 65 72 20 61 20 |uld be e|ither a |
|00003ad0| 73 74 72 69 6e 67 20 64 | 65 6e 6f 74 69 6e 67 20 |string d|enoting |
|00003ae0| 61 6e 20 65 78 65 63 75 | 74 61 62 6c 65 20 70 72 |an execu|table pr|
|00003af0| 6f 67 72 61 6d 20 74 6f | 20 63 72 65 61 74 65 0a |ogram to| create.|
|00003b00| 76 69 61 20 60 73 74 61 | 72 74 2d 70 72 6f 63 65 |via `sta|rt-proce|
|00003b10| 73 73 27 2c 20 6f 72 20 | 61 20 63 6f 6e 73 20 70 |ss', or |a cons p|
|00003b20| 61 69 72 20 6f 66 20 74 | 68 65 20 66 6f 72 6d 20 |air of t|he form |
|00003b30| 28 48 4f 53 54 20 2e 20 | 53 45 52 56 49 43 45 29 |(HOST . |SERVICE)|
|00003b40| 20 64 65 6e 6f 74 69 6e | 67 20 61 20 54 43 50 0a | denotin|g a TCP.|
|00003b50| 63 6f 6e 6e 65 63 74 69 | 6f 6e 20 74 6f 20 62 65 |connecti|on to be|
|00003b60| 20 6f 70 65 6e 65 64 20 | 76 69 61 20 60 6f 70 65 | opened |via `ope|
|00003b70| 6e 2d 6e 65 74 77 6f 72 | 6b 2d 73 74 72 65 61 6d |n-networ|k-stream|
|00003b80| 27 2e 20 20 49 66 20 74 | 68 65 72 65 20 69 73 20 |'. If t|here is |
|00003b90| 61 6c 72 65 61 64 79 20 | 61 0a 72 75 6e 6e 69 6e |already |a.runnin|
|00003ba0| 67 20 70 72 6f 63 65 73 | 73 20 69 6e 20 74 68 61 |g proces|s in tha|
|00003bb0| 74 20 62 75 66 66 65 72 | 2c 20 69 74 20 69 73 20 |t buffer|, it is |
|00003bc0| 6e 6f 74 20 72 65 73 74 | 61 72 74 65 64 2e 20 20 |not rest|arted. |
|00003bd0| 4f 70 74 69 6f 6e 61 6c | 20 74 68 69 72 64 20 61 |Optional| third a|
|00003be0| 72 67 0a 53 54 41 52 54 | 46 49 4c 45 20 69 73 20 |rg.START|FILE is |
|00003bf0| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 61 20 66 69 |the name| of a fi|
|00003c00| 6c 65 20 74 6f 20 73 65 | 6e 64 20 74 68 65 20 63 |le to se|nd the c|
|00003c10| 6f 6e 74 65 6e 74 73 20 | 6f 66 20 74 6f 20 74 68 |ontents |of to th|
|00003c20| 65 20 70 72 6f 63 65 73 | 73 2e 0a 0a 49 66 20 50 |e proces|s...If P|
|00003c30| 52 4f 47 52 41 4d 20 69 | 73 20 61 20 73 74 72 69 |ROGRAM i|s a stri|
|00003c40| 6e 67 2c 20 61 6e 79 20 | 6d 6f 72 65 20 61 72 67 |ng, any |more arg|
|00003c50| 73 20 61 72 65 20 61 72 | 67 75 6d 65 6e 74 73 20 |s are ar|guments |
|00003c60| 74 6f 20 50 52 4f 47 52 | 41 4d 2e 1f 0a 28 64 65 |to PROGR|AM...(de|
|00003c70| 66 61 6c 69 61 73 20 27 | 6d 61 6b 65 2d 63 6f 6d |falias '|make-com|
|00003c80| 69 6e 74 20 23 5b 28 6e | 61 6d 65 20 70 72 6f 67 |int #[(n|ame prog|
|00003c90| 72 61 6d 20 26 6f 70 74 | 69 6f 6e 61 6c 20 73 74 |ram &opt|ional st|
|00003ca0| 61 72 74 66 69 6c 65 20 | 26 72 65 73 74 20 73 77 |artfile |&rest sw|
|00003cb0| 69 74 63 68 65 73 29 20 | 22 c0 c1 21 84 5c 6e 00 |itches) |"..!.\n.|
|00003cc0| c2 c3 21 88 c4 c5 0e 06 | c5 51 21 1e 07 c8 0e 07 |..!.....|.Q!.....|
|00003cd0| 21 84 30 00 8a 0e 07 71 | 88 c9 20 88 29 ca 0e 07 |!.0....q|.. .)...|
|00003ce0| 0e 06 0e 0b 0e 5c 66 0e | 0d 25 88 0e 07 29 87 22 |.....\f.|.%...)."|
|00003cf0| 20 5b 66 62 6f 75 6e 64 | 70 20 73 74 61 72 74 2d | [fbound|p start-|
|00003d00| 70 72 6f 63 65 73 73 20 | 65 72 72 6f 72 20 22 4d |process |error "M|
|00003d10| 75 6c 74 69 2d 70 72 6f | 63 65 73 73 69 6e 67 20 |ulti-pro|cessing |
|00003d20| 69 73 20 6e 6f 74 20 73 | 75 70 70 6f 72 74 65 64 |is not s|upported|
|00003d30| 20 66 6f 72 20 74 68 69 | 73 20 73 79 73 74 65 6d | for thi|s system|
|00003d40| 22 20 67 65 74 2d 62 75 | 66 66 65 72 2d 63 72 65 |" get-bu|ffer-cre|
|00003d50| 61 74 65 20 22 2a 22 20 | 6e 61 6d 65 20 62 75 66 |ate "*" |name buf|
|00003d60| 66 65 72 20 63 6f 6d 69 | 6e 74 2d 63 68 65 63 6b |fer comi|nt-check|
|00003d70| 2d 70 72 6f 63 20 63 6f | 6d 69 6e 74 2d 6d 6f 64 |-proc co|mint-mod|
|00003d80| 65 20 63 6f 6d 69 6e 74 | 2d 65 78 65 63 20 70 72 |e comint|-exec pr|
|00003d90| 6f 67 72 61 6d 20 73 74 | 61 72 74 66 69 6c 65 20 |ogram st|artfile |
|00003da0| 73 77 69 74 63 68 65 73 | 5d 20 36 20 28 23 24 20 |switches|] 6 (#$ |
|00003db0| 2e 20 31 34 39 31 30 29 | 5d 29 0a 23 40 32 38 35 |. 14910)|]).#@285|
|00003dc0| 20 52 75 6e 20 50 52 4f | 47 52 41 4d 20 69 6e 20 | Run PRO|GRAM in |
|00003dd0| 61 20 63 6f 6d 69 6e 74 | 20 62 75 66 66 65 72 20 |a comint| buffer |
|00003de0| 61 6e 64 20 73 77 69 74 | 63 68 20 74 6f 20 69 74 |and swit|ch to it|
|00003df0| 2e 0a 54 68 65 20 62 75 | 66 66 65 72 20 6e 61 6d |..The bu|ffer nam|
|00003e00| 65 20 69 73 20 6d 61 64 | 65 20 62 79 20 73 75 72 |e is mad|e by sur|
|00003e10| 72 6f 75 6e 64 69 6e 67 | 20 74 68 65 20 66 69 6c |rounding| the fil|
|00003e20| 65 20 6e 61 6d 65 20 6f | 66 20 50 52 4f 47 52 41 |e name o|f PROGRA|
|00003e30| 4d 20 77 69 74 68 20 60 | 2a 27 73 2e 0a 54 68 65 |M with `|*'s..The|
|00003e40| 20 66 69 6c 65 20 6e 61 | 6d 65 20 69 73 20 75 73 | file na|me is us|
|00003e50| 65 64 20 74 6f 20 6d 61 | 6b 65 20 61 20 73 79 6d |ed to ma|ke a sym|
|00003e60| 62 6f 6c 20 6e 61 6d 65 | 2c 20 73 75 63 68 20 61 |bol name|, such a|
|00003e70| 73 20 60 63 6f 6d 69 6e | 74 2d 73 68 2d 68 6f 6f |s `comin|t-sh-hoo|
|00003e80| 6b 27 2c 20 61 6e 64 20 | 61 6e 79 0a 68 6f 6f 6b |k', and |any.hook|
|00003e90| 73 20 6f 6e 20 74 68 69 | 73 20 73 79 6d 62 6f 6c |s on thi|s symbol|
|00003ea0| 20 61 72 65 20 72 75 6e | 20 69 6e 20 74 68 65 20 | are run| in the |
|00003eb0| 62 75 66 66 65 72 2e 0a | 53 65 65 20 60 6d 61 6b |buffer..|See `mak|
|00003ec0| 65 2d 63 6f 6d 69 6e 74 | 27 20 61 6e 64 20 60 63 |e-comint|' and `c|
|00003ed0| 6f 6d 69 6e 74 2d 65 78 | 65 63 27 2e 1f 0a 28 64 |omint-ex|ec'...(d|
|00003ee0| 65 66 61 6c 69 61 73 20 | 27 63 6f 6d 69 6e 74 2d |efalias |'comint-|
|00003ef0| 72 75 6e 20 23 5b 28 70 | 72 6f 67 72 61 6d 29 20 |run #[(p|rogram) |
|00003f00| 22 c0 09 21 1a c3 c4 5c | 6e 09 5c 22 21 88 c5 c6 |"..!...\|n.\"!...|
|00003f10| c7 5c 6e c8 51 21 21 29 | 87 22 20 5b 66 69 6c 65 |.\n.Q!!)|." [file|
|00003f20| 2d 6e 61 6d 65 2d 6e 6f | 6e 64 69 72 65 63 74 6f |-name-no|ndirecto|
|00003f30| 72 79 20 70 72 6f 67 72 | 61 6d 20 6e 61 6d 65 20 |ry progr|am name |
|00003f40| 73 77 69 74 63 68 2d 74 | 6f 2d 62 75 66 66 65 72 |switch-t|o-buffer|
|00003f50| 20 6d 61 6b 65 2d 63 6f | 6d 69 6e 74 20 72 75 6e | make-co|mint run|
|00003f60| 2d 68 6f 6f 6b 73 20 69 | 6e 74 65 72 6e 2d 73 6f |-hooks i|ntern-so|
|00003f70| 66 74 20 22 63 6f 6d 69 | 6e 74 2d 22 20 22 2d 68 |ft "comi|nt-" "-h|
|00003f80| 6f 6f 6b 22 5d 20 35 20 | 28 23 24 20 2e 20 31 35 |ook"] 5 |(#$ . 15|
|00003f90| 38 30 39 29 20 22 73 52 | 75 6e 20 70 72 6f 67 72 |809) "sR|un progr|
|00003fa0| 61 6d 3a 20 22 5d 29 0a | 23 40 32 36 35 20 53 74 |am: "]).|#@265 St|
|00003fb0| 61 72 74 20 75 70 20 61 | 20 70 72 6f 63 65 73 73 |art up a| process|
|00003fc0| 20 69 6e 20 62 75 66 66 | 65 72 20 42 55 46 46 45 | in buff|er BUFFE|
|00003fd0| 52 20 66 6f 72 20 63 6f | 6d 69 6e 74 20 6d 6f 64 |R for co|mint mod|
|00003fe0| 65 73 2e 0a 42 6c 61 73 | 74 73 20 61 6e 79 20 6f |es..Blas|ts any o|
|00003ff0| 6c 64 20 70 72 6f 63 65 | 73 73 20 72 75 6e 6e 69 |ld proce|ss runni|
|00004000| 6e 67 20 69 6e 20 74 68 | 65 20 62 75 66 66 65 72 |ng in th|e buffer|
|00004010| 2e 20 20 44 6f 65 73 6e | 27 74 20 73 65 74 20 74 |. Doesn|'t set t|
|00004020| 68 65 20 62 75 66 66 65 | 72 20 6d 6f 64 65 2e 0a |he buffe|r mode..|
|00004030| 59 6f 75 20 63 61 6e 20 | 75 73 65 20 74 68 69 73 |You can |use this|
|00004040| 20 74 6f 20 63 68 65 61 | 70 6c 79 20 72 75 6e 20 | to chea|ply run |
|00004050| 61 20 73 65 72 69 65 73 | 20 6f 66 20 70 72 6f 63 |a series| of proc|
|00004060| 65 73 73 65 73 20 69 6e | 20 74 68 65 20 73 61 6d |esses in| the sam|
|00004070| 65 20 63 6f 6d 69 6e 74 | 0a 62 75 66 66 65 72 2e |e comint|.buffer.|
|00004080| 20 20 54 68 65 20 68 6f | 6f 6b 20 60 63 6f 6d 69 | The ho|ok `comi|
|00004090| 6e 74 2d 65 78 65 63 2d | 68 6f 6f 6b 27 20 69 73 |nt-exec-|hook' is|
|000040a0| 20 72 75 6e 20 61 66 74 | 65 72 20 65 61 63 68 20 | run aft|er each |
|000040b0| 65 78 65 63 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |exec...(|defalias|
|000040c0| 20 27 63 6f 6d 69 6e 74 | 2d 65 78 65 63 20 23 5b | 'comint|-exec #[|
|000040d0| 28 62 75 66 66 65 72 20 | 6e 61 6d 65 20 63 6f 6d |(buffer |name com|
|000040e0| 6d 61 6e 64 20 73 74 61 | 72 74 66 69 6c 65 20 73 |mand sta|rtfile s|
|000040f0| 77 69 74 63 68 65 73 29 | 20 22 8a 08 71 88 c1 08 |witches)| "..q...|
|00004100| 21 89 1a 83 10 00 c3 5c | 6e 21 88 29 5c 66 3a 83 |!......\|n!.)\f:.|
|00004110| 5c 22 00 c5 0e 06 08 5c | 66 40 5c 66 41 24 82 2a |\".....\|f@\fA$.*|
|00004120| 00 c7 0e 06 08 5c 66 0e | 08 24 1a c9 5c 6e ca 5c |.....\f.|.$..\n.\|
|00004130| 22 88 cb cc 21 88 0e 0d | 16 5c 66 64 62 88 ce 5c |"...!...|.\fdb..\|
|00004140| 6e 21 60 cf 93 88 0e 10 | 83 62 00 d1 d2 21 88 64 |n!`.....|.b...!.d|
|00004150| 62 88 d3 0e 10 21 88 60 | 64 7b 16 10 60 64 7c 88 |b....!.`|d{..`d|.|
|00004160| d4 5c 6e 0e 10 5c 22 88 | d5 d6 21 88 08 2a 87 22 |.\n..\".|..!..*."|
|00004170| 20 5b 62 75 66 66 65 72 | 20 67 65 74 2d 62 75 66 | [buffer| get-buf|
|00004180| 66 65 72 2d 70 72 6f 63 | 65 73 73 20 70 72 6f 63 |fer-proc|ess proc|
|00004190| 20 64 65 6c 65 74 65 2d | 70 72 6f 63 65 73 73 20 | delete-|process |
|000041a0| 63 6f 6d 6d 61 6e 64 20 | 6f 70 65 6e 2d 6e 65 74 |command |open-net|
|000041b0| 77 6f 72 6b 2d 73 74 72 | 65 61 6d 20 6e 61 6d 65 |work-str|eam name|
|000041c0| 20 63 6f 6d 69 6e 74 2d | 65 78 65 63 2d 31 20 73 | comint-|exec-1 s|
|000041d0| 77 69 74 63 68 65 73 20 | 73 65 74 2d 70 72 6f 63 |witches |set-proc|
|000041e0| 65 73 73 2d 66 69 6c 74 | 65 72 20 63 6f 6d 69 6e |ess-filt|er comin|
|000041f0| 74 2d 6f 75 74 70 75 74 | 2d 66 69 6c 74 65 72 20 |t-output|-filter |
|00004200| 6d 61 6b 65 2d 6c 6f 63 | 61 6c 2d 76 61 72 69 61 |make-loc|al-varia|
|00004210| 62 6c 65 20 63 6f 6d 69 | 6e 74 2d 70 74 79 70 20 |ble comi|nt-ptyp |
|00004220| 70 72 6f 63 65 73 73 2d | 63 6f 6e 6e 65 63 74 69 |process-|connecti|
|00004230| 6f 6e 2d 74 79 70 65 20 | 70 72 6f 63 65 73 73 2d |on-type |process-|
|00004240| 6d 61 72 6b 20 6e 69 6c | 20 73 74 61 72 74 66 69 |mark nil| startfi|
|00004250| 6c 65 20 73 6c 65 65 70 | 2d 66 6f 72 20 31 20 69 |le sleep|-for 1 i|
|00004260| 6e 73 65 72 74 2d 66 69 | 6c 65 2d 63 6f 6e 74 65 |nsert-fi|le-conte|
|00004270| 6e 74 73 20 63 6f 6d 69 | 6e 74 2d 73 65 6e 64 2d |nts comi|nt-send-|
|00004280| 73 74 72 69 6e 67 20 72 | 75 6e 2d 68 6f 6f 6b 73 |string r|un-hooks|
|00004290| 20 63 6f 6d 69 6e 74 2d | 65 78 65 63 2d 68 6f 6f | comint-|exec-hoo|
|000042a0| 6b 5d 20 36 20 28 23 24 | 20 2e 20 31 36 33 30 32 |k] 6 (#$| . 16302|
|000042b0| 29 5d 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 63 |)]).(def|alias 'c|
|000042c0| 6f 6d 69 6e 74 2d 65 78 | 65 63 2d 31 20 23 5b 28 |omint-ex|ec-1 #[(|
|000042d0| 6e 61 6d 65 20 62 75 66 | 66 65 72 20 63 6f 6d 6d |name buf|fer comm|
|000042e0| 61 6e 64 20 73 77 69 74 | 63 68 65 73 29 20 22 c0 |and swit|ches) ".|
|000042f0| c1 21 83 14 00 09 83 14 | 00 c2 c3 c4 c5 20 5c 22 |.!......|..... \"|
|00004300| 44 82 1b 00 c6 c3 c7 c5 | 20 5c 22 44 c8 c9 21 3f |D.......| \"D..!?|
|00004310| 85 24 00 ca 43 a4 0e 0b | a4 cc 0e 0d 21 83 34 00 |.$..C...|....!.4.|
|00004320| 0e 0d 82 35 00 ce 1e 0d | 1e 0b cf d0 0e 11 0e 12 |...5....|........|
|00004330| 0e 13 0e 14 25 2a 87 22 | 20 5b 62 6f 75 6e 64 70 |....%*."| [boundp|
|00004340| 20 73 79 73 74 65 6d 2d | 75 73 65 73 2d 74 65 72 | system-|uses-ter|
|00004350| 6d 69 6e 66 6f 20 22 54 | 45 52 4d 3d 64 75 6d 62 |minfo "T|ERM=dumb|
|00004360| 22 20 66 6f 72 6d 61 74 | 20 22 43 4f 4c 55 4d 4e |" format| "COLUMN|
|00004370| 53 3d 25 64 22 20 66 72 | 61 6d 65 2d 77 69 64 74 |S=%d" fr|ame-widt|
|00004380| 68 20 22 54 45 52 4d 3d | 65 6d 61 63 73 22 20 22 |h "TERM=|emacs" "|
|00004390| 54 45 52 4d 43 41 50 3d | 65 6d 61 63 73 3a 63 6f |TERMCAP=|emacs:co|
|000043a0| 23 25 64 3a 74 63 3d 75 | 6e 6b 6e 6f 77 6e 3a 22 |#%d:tc=u|nknown:"|
|000043b0| 20 67 65 74 65 6e 76 20 | 22 45 4d 41 43 53 22 20 | getenv |"EMACS" |
|000043c0| 22 45 4d 41 43 53 3d 74 | 22 20 70 72 6f 63 65 73 |"EMACS=t|" proces|
|000043d0| 73 2d 65 6e 76 69 72 6f | 6e 6d 65 6e 74 20 66 69 |s-enviro|nment fi|
|000043e0| 6c 65 2d 64 69 72 65 63 | 74 6f 72 79 2d 70 20 64 |le-direc|tory-p d|
|000043f0| 65 66 61 75 6c 74 2d 64 | 69 72 65 63 74 6f 72 79 |efault-d|irectory|
|00004400| 20 22 2f 22 20 61 70 70 | 6c 79 20 73 74 61 72 74 | "/" app|ly start|
|00004410| 2d 70 72 6f 63 65 73 73 | 20 6e 61 6d 65 20 62 75 |-process| name bu|
|00004420| 66 66 65 72 20 63 6f 6d | 6d 61 6e 64 20 73 77 69 |ffer com|mand swi|
|00004430| 74 63 68 65 73 5d 20 36 | 5d 29 0a 23 40 36 32 35 |tches] 6|]).#@625|
|00004440| 20 53 65 74 73 20 74 68 | 65 20 62 75 66 66 65 72 | Sets th|e buffer|
|00004450| 27 73 20 60 63 6f 6d 69 | 6e 74 2d 69 6e 70 75 74 |'s `comi|nt-input|
|00004460| 2d 72 69 6e 67 27 20 66 | 72 6f 6d 20 61 20 68 69 |-ring' f|rom a hi|
|00004470| 73 74 6f 72 79 20 66 69 | 6c 65 2e 0a 54 68 65 20 |story fi|le..The |
|00004480| 6e 61 6d 65 20 6f 66 20 | 74 68 65 20 66 69 6c 65 |name of |the file|
|00004490| 20 69 73 20 67 69 76 65 | 6e 20 62 79 20 74 68 65 | is give|n by the|
|000044a0| 20 76 61 72 69 61 62 6c | 65 20 60 63 6f 6d 69 6e | variabl|e `comin|
|000044b0| 74 2d 69 6e 70 75 74 2d | 72 69 6e 67 2d 66 69 6c |t-input-|ring-fil|
|000044c0| 65 2d 6e 61 6d 65 27 2e | 0a 54 68 65 20 68 69 73 |e-name'.|.The his|
|000044d0| 74 6f 72 79 20 72 69 6e | 67 20 69 73 20 6f 66 20 |tory rin|g is of |
|000044e0| 73 69 7a 65 20 60 63 6f | 6d 69 6e 74 2d 69 6e 70 |size `co|mint-inp|
|000044f0| 75 74 2d 72 69 6e 67 2d | 73 69 7a 65 27 2c 20 72 |ut-ring-|size', r|
|00004500| 65 67 61 72 64 6c 65 73 | 73 20 6f 66 20 66 69 6c |egardles|s of fil|
|00004510| 65 20 73 69 7a 65 2e 0a | 49 66 20 60 63 6f 6d 69 |e size..|If `comi|
|00004520| 6e 74 2d 69 6e 70 75 74 | 2d 72 69 6e 67 2d 66 69 |nt-input|-ring-fi|
|00004530| 6c 65 2d 6e 61 6d 65 27 | 20 69 73 20 6e 69 6c 20 |le-name'| is nil |
|00004540| 74 68 69 73 20 66 75 6e | 63 74 69 6f 6e 20 64 6f |this fun|ction do|
|00004550| 65 73 20 6e 6f 74 68 69 | 6e 67 2e 0a 0a 49 66 20 |es nothi|ng...If |
|00004560| 74 68 65 20 6f 70 74 69 | 6f 6e 61 6c 20 61 72 67 |the opti|onal arg|
|00004570| 75 6d 65 6e 74 20 53 49 | 4c 45 4e 54 20 69 73 20 |ument SI|LENT is |
|00004580| 6e 6f 6e 2d 6e 69 6c 2c | 20 77 65 20 73 61 79 20 |non-nil,| we say |
|00004590| 6e 6f 74 68 69 6e 67 20 | 61 62 6f 75 74 20 61 0a |nothing |about a.|
|000045a0| 66 61 69 6c 75 72 65 20 | 74 6f 20 72 65 61 64 20 |failure |to read |
|000045b0| 74 68 65 20 68 69 73 74 | 6f 72 79 20 66 69 6c 65 |the hist|ory file|
|000045c0| 2e 0a 0a 54 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |...This |function|
|000045d0| 20 69 73 20 75 73 65 66 | 75 6c 20 66 6f 72 20 6d | is usef|ul for m|
|000045e0| 61 6a 6f 72 20 6d 6f 64 | 65 20 63 6f 6d 6d 61 6e |ajor mod|e comman|
|000045f0| 64 73 20 61 6e 64 20 6d | 6f 64 65 20 68 6f 6f 6b |ds and m|ode hook|
|00004600| 73 2e 0a 0a 54 68 65 20 | 73 74 72 75 63 74 75 72 |s...The |structur|
|00004610| 65 20 6f 66 20 74 68 65 | 20 68 69 73 74 6f 72 79 |e of the| history|
|00004620| 20 66 69 6c 65 20 73 68 | 6f 75 6c 64 20 62 65 20 | file sh|ould be |
|00004630| 6f 6e 65 20 69 6e 70 75 | 74 20 63 6f 6d 6d 61 6e |one inpu|t comman|
|00004640| 64 20 70 65 72 20 6c 69 | 6e 65 2c 0a 77 69 74 68 |d per li|ne,.with|
|00004650| 20 74 68 65 20 6d 6f 73 | 74 20 72 65 63 65 6e 74 | the mos|t recent|
|00004660| 20 63 6f 6d 6d 61 6e 64 | 20 6c 61 73 74 2e 0a 53 | command| last..S|
|00004670| 65 65 20 61 6c 73 6f 20 | 60 63 6f 6d 69 6e 74 2d |ee also |`comint-|
|00004680| 69 6e 70 75 74 2d 69 67 | 6e 6f 72 65 64 75 70 73 |input-ig|noredups|
|00004690| 27 20 61 6e 64 20 60 63 | 6f 6d 69 6e 74 2d 77 72 |' and `c|omint-wr|
|000046a0| 69 74 65 2d 69 6e 70 75 | 74 2d 72 69 6e 67 27 2e |ite-inpu|t-ring'.|
|000046b0| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 63 6f 6d |..(defal|ias 'com|
|000046c0| 69 6e 74 2d 72 65 61 64 | 2d 69 6e 70 75 74 2d 72 |int-read|-input-r|
|000046d0| 69 6e 67 20 23 5b 28 26 | 6f 70 74 69 6f 6e 61 6c |ing #[(&|optional|
|000046e0| 20 73 69 6c 65 6e 74 29 | 20 22 08 83 5c 6e 00 08 | silent)| "..\n..|
|000046f0| c1 9a 83 5c 66 00 c2 87 | c3 08 21 84 1b 00 5c 66 |...\f...|..!...\f|
|00004700| 86 89 00 c5 c6 08 5c 22 | 87 c7 c8 21 08 c9 ca 0e |......\"|...!....|
|00004710| 0b 21 1e 5c 66 1e 0d 1e | 0e 1e 0f d0 8e 8a 0e 0f |.!.\f...|........|
|00004720| 71 88 7e 88 d1 20 88 d2 | 0e 0e 21 88 64 62 88 0e |q.~.. ..|..!.db..|
|00004730| 0d 0e 0b 57 83 7f 00 d3 | d4 c2 d5 23 83 7f 00 d6 |...W....|...#....|
|00004740| 94 d6 95 7b 1e 17 0e 18 | 83 6e 00 d9 0e 5c 66 21 |...{....|.n...\f!|
|00004750| 84 6e 00 da 0e 5c 66 c9 | 5c 22 0e 17 98 84 75 00 |.n...\f.|\"....u.|
|00004760| db 0e 5c 66 0e 17 5c 22 | 88 29 0e 0d 54 89 16 0d |..\f..\"|.)..T...|
|00004770| 82 42 00 2a 0e 5c 66 16 | 1c c2 89 16 1d 2c 87 22 |.B.*.\f.|.....,."|
|00004780| 20 5b 63 6f 6d 69 6e 74 | 2d 69 6e 70 75 74 2d 72 | [comint|-input-r|
|00004790| 69 6e 67 2d 66 69 6c 65 | 2d 6e 61 6d 65 20 22 22 |ing-file|-name ""|
|000047a0| 20 6e 69 6c 20 66 69 6c | 65 2d 72 65 61 64 61 62 | nil fil|e-readab|
|000047b0| 6c 65 2d 70 20 73 69 6c | 65 6e 74 20 6d 65 73 73 |le-p sil|ent mess|
|000047c0| 61 67 65 20 22 43 61 6e | 6e 6f 74 20 72 65 61 64 |age "Can|not read|
|000047d0| 20 68 69 73 74 6f 72 79 | 20 66 69 6c 65 20 25 73 | history| file %s|
|000047e0| 22 20 67 65 74 2d 62 75 | 66 66 65 72 2d 63 72 65 |" get-bu|ffer-cre|
|000047f0| 61 74 65 20 22 20 2a 74 | 65 6d 70 2a 22 20 30 20 |ate " *t|emp*" 0 |
|00004800| 6d 61 6b 65 2d 72 69 6e | 67 20 63 6f 6d 69 6e 74 |make-rin|g comint|
|00004810| 2d 69 6e 70 75 74 2d 72 | 69 6e 67 2d 73 69 7a 65 |-input-r|ing-size|
|00004820| 20 72 69 6e 67 20 63 6f | 75 6e 74 20 66 69 6c 65 | ring co|unt file|
|00004830| 20 68 69 73 74 6f 72 79 | 2d 62 75 66 20 28 28 6b | history|-buf ((k|
|00004840| 69 6c 6c 2d 62 75 66 66 | 65 72 20 68 69 73 74 6f |ill-buff|er histo|
|00004850| 72 79 2d 62 75 66 29 29 | 20 65 72 61 73 65 2d 62 |ry-buf))| erase-b|
|00004860| 75 66 66 65 72 20 69 6e | 73 65 72 74 2d 66 69 6c |uffer in|sert-fil|
|00004870| 65 2d 63 6f 6e 74 65 6e | 74 73 20 72 65 2d 73 65 |e-conten|ts re-se|
|00004880| 61 72 63 68 2d 62 61 63 | 6b 77 61 72 64 20 22 5e |arch-bac|kward "^|
|00004890| 5b 20 09 5d 2a 5c 5c 28 | 5b 5e 23 5c 6e 5d 2e 2a |[ .]*\\(|[^#\n].*|
|000048a0| 5c 5c 29 5b 20 09 5d 2a | 24 22 20 74 20 31 20 68 |\\)[ .]*|$" t 1 h|
|000048b0| 69 73 74 6f 72 79 20 63 | 6f 6d 69 6e 74 2d 69 6e |istory c|omint-in|
|000048c0| 70 75 74 2d 69 67 6e 6f | 72 65 64 75 70 73 20 72 |put-igno|redups r|
|000048d0| 69 6e 67 2d 65 6d 70 74 | 79 2d 70 20 72 69 6e 67 |ing-empt|y-p ring|
|000048e0| 2d 72 65 66 20 72 69 6e | 67 2d 69 6e 73 65 72 74 |-ref rin|g-insert|
|000048f0| 2d 61 74 2d 62 65 67 69 | 6e 6e 69 6e 67 20 63 6f |-at-begi|nning co|
|00004900| 6d 69 6e 74 2d 69 6e 70 | 75 74 2d 72 69 6e 67 20 |mint-inp|ut-ring |
|00004910| 63 6f 6d 69 6e 74 2d 69 | 6e 70 75 74 2d 72 69 6e |comint-i|nput-rin|
|00004920| 67 2d 69 6e 64 65 78 5d | 20 36 20 28 23 24 20 2e |g-index]| 6 (#$ .|
|00004930| 20 31 37 34 37 33 29 5d | 29 0a 23 40 33 35 35 20 | 17473)]|).#@355 |
|00004940| 57 72 69 74 65 73 20 74 | 68 65 20 62 75 66 66 65 |Writes t|he buffe|
|00004950| 72 27 73 20 60 63 6f 6d | 69 6e 74 2d 69 6e 70 75 |r's `com|int-inpu|
|00004960| 74 2d 72 69 6e 67 27 20 | 74 6f 20 61 20 68 69 73 |t-ring' |to a his|
|00004970| 74 6f 72 79 20 66 69 6c | 65 2e 0a 54 68 65 20 6e |tory fil|e..The n|
|00004980| 61 6d 65 20 6f 66 20 74 | 68 65 20 66 69 6c 65 20 |ame of t|he file |
|00004990| 69 73 20 67 69 76 65 6e | 20 62 79 20 74 68 65 20 |is given| by the |
|000049a0| 76 61 72 69 61 62 6c 65 | 20 60 63 6f 6d 69 6e 74 |variable| `comint|
|000049b0| 2d 69 6e 70 75 74 2d 72 | 69 6e 67 2d 66 69 6c 65 |-input-r|ing-file|
|000049c0| 2d 6e 61 6d 65 27 2e 0a | 54 68 65 20 6f 72 69 67 |-name'..|The orig|
|000049d0| 69 6e 61 6c 20 63 6f 6e | 74 65 6e 74 73 20 6f 66 |inal con|tents of|
|000049e0| 20 74 68 65 20 66 69 6c | 65 20 61 72 65 20 6c 6f | the fil|e are lo|
|000049f0| 73 74 20 69 66 20 60 63 | 6f 6d 69 6e 74 2d 69 6e |st if `c|omint-in|
|00004a00| 70 75 74 2d 72 69 6e 67 | 27 20 69 73 20 6e 6f 74 |put-ring|' is not|
|00004a10| 20 65 6d 70 74 79 2e 0a | 49 66 20 60 63 6f 6d 69 | empty..|If `comi|
|00004a20| 6e 74 2d 69 6e 70 75 74 | 2d 72 69 6e 67 2d 66 69 |nt-input|-ring-fi|
|00004a30| 6c 65 2d 6e 61 6d 65 27 | 20 69 73 20 6e 69 6c 20 |le-name'| is nil |
|00004a40| 74 68 69 73 20 66 75 6e | 63 74 69 6f 6e 20 64 6f |this fun|ction do|
|00004a50| 65 73 20 6e 6f 74 68 69 | 6e 67 2e 0a 0a 55 73 65 |es nothi|ng...Use|
|00004a60| 66 75 6c 20 77 69 74 68 | 69 6e 20 70 72 6f 63 65 |ful with|in proce|
|00004a70| 73 73 20 73 65 6e 74 69 | 6e 65 6c 73 2e 0a 0a 53 |ss senti|nels...S|
|00004a80| 65 65 20 61 6c 73 6f 20 | 60 63 6f 6d 69 6e 74 2d |ee also |`comint-|
|00004a90| 72 65 61 64 2d 69 6e 70 | 75 74 2d 72 69 6e 67 27 |read-inp|ut-ring'|
|00004aa0| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 63 6f |...(defa|lias 'co|
|00004ab0| 6d 69 6e 74 2d 77 72 69 | 74 65 2d 69 6e 70 75 74 |mint-wri|te-input|
|00004ac0| 2d 72 69 6e 67 20 23 5b | 6e 69 6c 20 22 08 83 14 |-ring #[|nil "...|
|00004ad0| 00 08 c1 9a 84 14 00 5c | 6e 83 14 00 c3 5c 6e 21 |.......\|n....\n!|
|00004ae0| 83 16 00 c4 87 c5 08 21 | 84 21 00 c6 c7 08 5c 22 |.......!|.!....\"|
|00004af0| 87 c8 c9 21 1e 5c 6e 5c | 6e 1e 0b 08 1e 5c 66 cd |...!.\n\|n....\f.|
|00004b00| 0e 0b 21 1e 0e 8a 0e 5c | 6e 71 88 cf 20 88 0e 0e |..!....\|nq.. ...|
|00004b10| d0 56 83 53 00 0e 0e 53 | 16 0e d1 0e 0b 0e 0e 5c |.V.S...S|.......\|
|00004b20| 22 d2 b1 02 88 82 3a 00 | d3 d4 20 c4 0e 5c 66 c4 |".....:.|.. ..\f.|
|00004b30| d5 25 88 d6 c4 21 2d 87 | 22 20 5b 63 6f 6d 69 6e |.%...!-.|" [comin|
|00004b40| 74 2d 69 6e 70 75 74 2d | 72 69 6e 67 2d 66 69 6c |t-input-|ring-fil|
|00004b50| 65 2d 6e 61 6d 65 20 22 | 22 20 63 6f 6d 69 6e 74 |e-name "|" comint|
|00004b60| 2d 69 6e 70 75 74 2d 72 | 69 6e 67 20 72 69 6e 67 |-input-r|ing ring|
|00004b70| 2d 65 6d 70 74 79 2d 70 | 20 6e 69 6c 20 66 69 6c |-empty-p| nil fil|
|00004b80| 65 2d 77 72 69 74 61 62 | 6c 65 2d 70 20 6d 65 73 |e-writab|le-p mes|
|00004b90| 73 61 67 65 20 22 43 61 | 6e 6e 6f 74 20 77 72 69 |sage "Ca|nnot wri|
|00004ba0| 74 65 20 68 69 73 74 6f | 72 79 20 66 69 6c 65 20 |te histo|ry file |
|00004bb0| 25 73 22 20 67 65 74 2d | 62 75 66 66 65 72 2d 63 |%s" get-|buffer-c|
|00004bc0| 72 65 61 74 65 20 22 20 | 2a 54 65 6d 70 20 49 6e |reate " |*Temp In|
|00004bd0| 70 75 74 20 48 69 73 74 | 6f 72 79 2a 22 20 68 69 |put Hist|ory*" hi|
|00004be0| 73 74 6f 72 79 2d 62 75 | 66 20 72 69 6e 67 20 66 |story-bu|f ring f|
|00004bf0| 69 6c 65 20 72 69 6e 67 | 2d 6c 65 6e 67 74 68 20 |ile ring|-length |
|00004c00| 69 6e 64 65 78 20 65 72 | 61 73 65 2d 62 75 66 66 |index er|ase-buff|
|00004c10| 65 72 20 30 20 72 69 6e | 67 2d 72 65 66 20 31 30 |er 0 rin|g-ref 10|
|00004c20| 20 77 72 69 74 65 2d 72 | 65 67 69 6f 6e 20 62 75 | write-r|egion bu|
|00004c30| 66 66 65 72 2d 73 74 72 | 69 6e 67 20 6e 6f 2d 6d |ffer-str|ing no-m|
|00004c40| 65 73 73 61 67 65 20 6b | 69 6c 6c 2d 62 75 66 66 |essage k|ill-buff|
|00004c50| 65 72 5d 20 36 20 28 23 | 24 20 2e 20 31 38 37 35 |er] 6 (#|$ . 1875|
|00004c60| 32 29 5d 29 0a 23 40 34 | 39 20 4c 69 73 74 20 69 |2)]).#@4|9 List i|
|00004c70| 6e 20 68 65 6c 70 20 62 | 75 66 66 65 72 20 74 68 |n help b|uffer th|
|00004c80| 65 20 62 75 66 66 65 72 | 27 73 20 69 6e 70 75 74 |e buffer|'s input|
|00004c90| 20 68 69 73 74 6f 72 79 | 2e 1f 0a 28 64 65 66 61 | history|...(defa|
|00004ca0| 6c 69 61 73 20 27 63 6f | 6d 69 6e 74 2d 64 79 6e |lias 'co|mint-dyn|
|00004cb0| 61 6d 69 63 2d 6c 69 73 | 74 2d 69 6e 70 75 74 2d |amic-lis|t-input-|
|00004cc0| 72 69 6e 67 20 23 5b 6e | 69 6c 20 22 c0 09 21 83 |ring #[n|il "..!.|
|00004cd0| 5c 66 00 c2 09 21 83 10 | 00 c3 c4 21 87 c5 c6 c7 |\f...!..|...!....|
|00004ce0| 09 21 53 c8 20 1e 09 1e | 5c 6e 1e 0b 1e 5c 66 0e |.!S. ...|\n...\f.|
|00004cf0| 5c 6e cd 59 83 3a 00 ce | 09 0e 5c 6e 5c 22 0e 5c |\n.Y.:..|..\n\".\|
|00004d00| 66 42 16 5c 66 0e 5c 6e | 53 89 16 5c 6e 82 5c 22 |fB.\f.\n|S..\n.\"|
|00004d10| 00 0e 0b 90 cf 0e 5c 66 | 21 88 0e 0b 71 88 d0 79 |......\f|!...q..y|
|00004d20| 88 d1 d2 c5 d3 23 85 58 | 00 d4 d5 21 88 82 49 00 |.....#.X|...!..I.|
|00004d30| 91 88 d6 cd 21 88 c3 d7 | 21 88 d8 20 89 1e 19 da |....!...|!.. ....|
|00004d40| 3d 83 73 00 db 0e 09 21 | 82 79 00 0e 19 43 89 16 |=.s....!|.y...C..|
|00004d50| 1c 2d 87 22 20 5b 72 69 | 6e 67 2d 70 20 63 6f 6d |.-." [ri|ng-p com|
|00004d60| 69 6e 74 2d 69 6e 70 75 | 74 2d 72 69 6e 67 20 72 |int-inpu|t-ring r|
|00004d70| 69 6e 67 2d 65 6d 70 74 | 79 2d 70 20 6d 65 73 73 |ing-empt|y-p mess|
|00004d80| 61 67 65 20 22 4e 6f 20 | 68 69 73 74 6f 72 79 22 |age "No |history"|
|00004d90| 20 6e 69 6c 20 22 20 2a | 49 6e 70 75 74 20 48 69 | nil " *|Input Hi|
|00004da0| 73 74 6f 72 79 2a 22 20 | 72 69 6e 67 2d 6c 65 6e |story*" |ring-len|
|00004db0| 67 74 68 20 63 75 72 72 | 65 6e 74 2d 77 69 6e 64 |gth curr|ent-wind|
|00004dc0| 6f 77 2d 63 6f 6e 66 69 | 67 75 72 61 74 69 6f 6e |ow-confi|guration|
|00004dd0| 20 63 6f 6e 66 20 69 6e | 64 65 78 20 68 69 73 74 | conf in|dex hist|
|00004de0| 6f 72 79 2d 62 75 66 66 | 65 72 20 68 69 73 74 6f |ory-buff|er histo|
|00004df0| 72 79 20 30 20 72 69 6e | 67 2d 72 65 66 20 64 69 |ry 0 rin|g-ref di|
|00004e00| 73 70 6c 61 79 2d 63 6f | 6d 70 6c 65 74 69 6f 6e |splay-co|mpletion|
|00004e10| 2d 6c 69 73 74 20 33 20 | 73 65 61 72 63 68 2d 62 |-list 3 |search-b|
|00004e20| 61 63 6b 77 61 72 64 20 | 22 63 6f 6d 70 6c 65 74 |ackward |"complet|
|00004e30| 69 6f 6e 22 20 6d 6f 76 | 65 20 72 65 70 6c 61 63 |ion" mov|e replac|
|00004e40| 65 2d 6d 61 74 63 68 20 | 22 68 69 73 74 6f 72 79 |e-match |"history|
|00004e50| 20 72 65 66 65 72 65 6e | 63 65 22 20 73 69 74 2d | referen|ce" sit-|
|00004e60| 66 6f 72 20 22 48 69 74 | 20 73 70 61 63 65 20 74 |for "Hit| space t|
|00004e70| 6f 20 66 6c 75 73 68 22 | 20 72 65 61 64 2d 65 76 |o flush"| read-ev|
|00004e80| 65 6e 74 20 63 68 20 33 | 32 20 73 65 74 2d 77 69 |ent ch 3|2 set-wi|
|00004e90| 6e 64 6f 77 2d 63 6f 6e | 66 69 67 75 72 61 74 69 |ndow-con|figurati|
|00004ea0| 6f 6e 20 75 6e 72 65 61 | 64 2d 63 6f 6d 6d 61 6e |on unrea|d-comman|
|00004eb0| 64 2d 65 76 65 6e 74 73 | 5d 20 36 20 28 23 24 20 |d-events|] 6 (#$ |
|00004ec0| 2e 20 31 39 35 36 32 29 | 20 6e 69 6c 5d 29 0a 28 |. 19562)| nil]).(|
|00004ed0| 64 65 66 61 6c 69 61 73 | 20 27 63 6f 6d 69 6e 74 |defalias| 'comint|
|00004ee0| 2d 72 65 67 65 78 70 2d | 61 72 67 20 23 5b 28 70 |-regexp-|arg #[(p|
|00004ef0| 72 6f 6d 70 74 29 20 22 | c0 19 5c 6e 1a c3 5c 66 |rompt) "|..\n..\f|
|00004f00| c0 89 89 c5 25 89 1e 06 | c7 98 83 1b 00 0d 89 41 |....%...|.......A|
|00004f10| 40 a0 82 1d 00 0e 06 c8 | 0e 09 21 2b 44 87 22 20 |@.......|..!+D." |
|00004f20| 5b 6e 69 6c 20 6d 69 6e | 69 62 75 66 66 65 72 2d |[nil min|ibuffer-|
|00004f30| 68 69 73 74 6f 72 79 2d | 73 65 78 70 2d 66 6c 61 |history-|sexp-fla|
|00004f40| 67 20 6c 61 73 74 2d 63 | 6f 6d 6d 61 6e 64 20 72 |g last-c|ommand r|
|00004f50| 65 61 64 2d 66 72 6f 6d | 2d 6d 69 6e 69 62 75 66 |ead-from|-minibuf|
|00004f60| 66 65 72 20 70 72 6f 6d | 70 74 20 6d 69 6e 69 62 |fer prom|pt minib|
|00004f70| 75 66 66 65 72 2d 68 69 | 73 74 6f 72 79 2d 73 65 |uffer-hi|story-se|
|00004f80| 61 72 63 68 2d 68 69 73 | 74 6f 72 79 20 72 65 67 |arch-his|tory reg|
|00004f90| 65 78 70 20 22 22 20 70 | 72 65 66 69 78 2d 6e 75 |exp "" p|refix-nu|
|00004fa0| 6d 65 72 69 63 2d 76 61 | 6c 75 65 20 63 75 72 72 |meric-va|lue curr|
|00004fb0| 65 6e 74 2d 70 72 65 66 | 69 78 2d 61 72 67 5d 20 |ent-pref|ix-arg] |
|00004fc0| 37 5d 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 63 |7]).(def|alias 'c|
|00004fd0| 6f 6d 69 6e 74 2d 73 65 | 61 72 63 68 2d 61 72 67 |omint-se|arch-arg|
|00004fe0| 20 23 5b 28 61 72 67 29 | 20 22 c0 20 84 09 00 c1 | #[(arg)| ". ....|
|00004ff0| c2 21 87 0b 83 13 00 c4 | 0b 21 83 17 00 c1 c5 21 |.!......|.!.....!|
|00005000| 87 0e 06 c7 55 83 23 00 | c8 16 09 ca 87 0e 06 87 |....U.#.|........|
|00005010| 22 20 5b 63 6f 6d 69 6e | 74 2d 61 66 74 65 72 2d |" [comin|t-after-|
|00005020| 70 6d 61 72 6b 2d 70 20 | 65 72 72 6f 72 20 22 4e |pmark-p |error "N|
|00005030| 6f 74 20 61 74 20 63 6f | 6d 6d 61 6e 64 20 6c 69 |ot at co|mmand li|
|00005040| 6e 65 22 20 63 6f 6d 69 | 6e 74 2d 69 6e 70 75 74 |ne" comi|nt-input|
|00005050| 2d 72 69 6e 67 20 72 69 | 6e 67 2d 65 6d 70 74 79 |-ring ri|ng-empty|
|00005060| 2d 70 20 22 45 6d 70 74 | 79 20 69 6e 70 75 74 20 |-p "Empt|y input |
|00005070| 72 69 6e 67 22 20 61 72 | 67 20 30 20 6e 69 6c 20 |ring" ar|g 0 nil |
|00005080| 63 6f 6d 69 6e 74 2d 69 | 6e 70 75 74 2d 72 69 6e |comint-i|nput-rin|
|00005090| 67 2d 69 6e 64 65 78 20 | 31 5d 20 32 5d 29 0a 28 |g-index |1] 2]).(|
|000050a0| 64 65 66 61 6c 69 61 73 | 20 27 63 6f 6d 69 6e 74 |defalias| 'comint|
|000050b0| 2d 73 65 61 72 63 68 2d | 73 74 61 72 74 20 23 5b |-search-|start #[|
|000050c0| 28 61 72 67 29 20 22 08 | 83 18 00 c1 08 5c 6e c3 |(arg) ".|.....\n.|
|000050d0| 56 83 10 00 c4 82 11 00 | c5 5c 5c c6 0e 07 21 5c |V.......|.\\...!\|
|000050e0| 22 87 5c 6e c3 59 83 20 | 00 c3 87 c6 0e 07 21 53 |".\n.Y. |......!S|
|000050f0| 87 22 20 5b 63 6f 6d 69 | 6e 74 2d 69 6e 70 75 74 |." [comi|nt-input|
|00005100| 2d 72 69 6e 67 2d 69 6e | 64 65 78 20 6d 6f 64 20 |-ring-in|dex mod |
|00005110| 61 72 67 20 30 20 31 20 | 2d 31 20 72 69 6e 67 2d |arg 0 1 |-1 ring-|
|00005120| 6c 65 6e 67 74 68 20 63 | 6f 6d 69 6e 74 2d 69 6e |length c|omint-in|
|00005130| 70 75 74 2d 72 69 6e 67 | 5d 20 34 5d 29 0a 23 40 |put-ring|] 4]).#@|
|00005140| 39 37 20 52 65 74 75 72 | 6e 20 74 68 65 20 73 74 |97 Retur|n the st|
|00005150| 72 69 6e 67 20 41 52 47 | 20 70 6c 61 63 65 73 20 |ring ARG| places |
|00005160| 61 6c 6f 6e 67 20 74 68 | 65 20 69 6e 70 75 74 20 |along th|e input |
|00005170| 72 69 6e 67 2e 0a 4d 6f | 76 65 73 20 72 65 6c 61 |ring..Mo|ves rela|
|00005180| 74 69 76 65 20 74 6f 20 | 60 63 6f 6d 69 6e 74 2d |tive to |`comint-|
|00005190| 69 6e 70 75 74 2d 72 69 | 6e 67 2d 69 6e 64 65 78 |input-ri|ng-index|
|000051a0| 27 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 63 |'...(def|alias 'c|
|000051b0| 6f 6d 69 6e 74 2d 70 72 | 65 76 69 6f 75 73 2d 69 |omint-pr|evious-i|
|000051c0| 6e 70 75 74 2d 73 74 72 | 69 6e 67 20 23 5b 28 61 |nput-str|ing #[(a|
|000051d0| 72 67 29 20 22 c0 09 5c | 6e 83 11 00 c3 5c 66 5c |rg) "..\|n....\f\|
|000051e0| 6e 5c 5c c5 09 21 5c 22 | 82 12 00 5c 66 5c 22 87 |n\\..!\"|...\f\".|
|000051f0| 22 20 5b 72 69 6e 67 2d | 72 65 66 20 63 6f 6d 69 |" [ring-|ref comi|
|00005200| 6e 74 2d 69 6e 70 75 74 | 2d 72 69 6e 67 20 63 6f |nt-input|-ring co|
|00005210| 6d 69 6e 74 2d 69 6e 70 | 75 74 2d 72 69 6e 67 2d |mint-inp|ut-ring-|
|00005220| 69 6e 64 65 78 20 6d 6f | 64 20 61 72 67 20 72 69 |index mo|d arg ri|
|00005230| 6e 67 2d 6c 65 6e 67 74 | 68 5d 20 36 20 28 23 24 |ng-lengt|h] 6 (#$|
|00005240| 20 2e 20 32 30 38 30 33 | 29 5d 29 0a 23 40 34 30 | . 20803|)]).#@40|
|00005250| 20 43 79 63 6c 65 20 62 | 61 63 6b 77 61 72 64 73 | Cycle b|ackwards|
|00005260| 20 74 68 72 6f 75 67 68 | 20 69 6e 70 75 74 20 68 | through| input h|
|00005270| 69 73 74 6f 72 79 2e 1f | 0a 28 64 65 66 61 6c 69 |istory..|.(defali|
|00005280| 61 73 20 27 63 6f 6d 69 | 6e 74 2d 70 72 65 76 69 |as 'comi|nt-previ|
|00005290| 6f 75 73 2d 69 6e 70 75 | 74 20 23 5b 28 61 72 67 |ous-inpu|t #[(arg|
|000052a0| 29 20 22 c0 c1 5c 6e 5c | 22 87 22 20 5b 63 6f 6d |) "..\n\|"." [com|
|000052b0| 69 6e 74 2d 70 72 65 76 | 69 6f 75 73 2d 6d 61 74 |int-prev|ious-mat|
|000052c0| 63 68 69 6e 67 2d 69 6e | 70 75 74 20 22 2e 22 20 |ching-in|put "." |
|000052d0| 61 72 67 5d 20 33 20 28 | 23 24 20 2e 20 32 31 30 |arg] 3 (|#$ . 210|
|000052e0| 37 33 29 20 22 2a 70 22 | 5d 29 0a 23 40 33 39 20 |73) "*p"|]).#@39 |
|000052f0| 43 79 63 6c 65 20 66 6f | 72 77 61 72 64 73 20 74 |Cycle fo|rwards t|
|00005300| 68 72 6f 75 67 68 20 69 | 6e 70 75 74 20 68 69 73 |hrough i|nput his|
|00005310| 74 6f 72 79 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |tory...(|defalias|
|00005320| 20 27 63 6f 6d 69 6e 74 | 2d 6e 65 78 74 2d 69 6e | 'comint|-next-in|
|00005330| 70 75 74 20 23 5b 28 61 | 72 67 29 20 22 c0 09 5b |put #[(a|rg) "..[|
|00005340| 21 87 22 20 5b 63 6f 6d | 69 6e 74 2d 70 72 65 76 |!." [com|int-prev|
|00005350| 69 6f 75 73 2d 69 6e 70 | 75 74 20 61 72 67 5d 20 |ious-inp|ut arg] |
|00005360| 32 20 28 23 24 20 2e 20 | 32 31 32 33 32 29 20 22 |2 (#$ . |21232) "|
|00005370| 2a 70 22 5d 29 0a 23 40 | 31 31 33 20 52 65 74 75 |*p"]).#@|113 Retu|
|00005380| 72 6e 20 74 68 65 20 73 | 74 72 69 6e 67 20 6d 61 |rn the s|tring ma|
|00005390| 74 63 68 69 6e 67 20 52 | 45 47 45 58 50 20 41 52 |tching R|EGEXP AR|
|000053a0| 47 20 70 6c 61 63 65 73 | 20 61 6c 6f 6e 67 20 74 |G places| along t|
|000053b0| 68 65 20 69 6e 70 75 74 | 20 72 69 6e 67 2e 0a 4d |he input| ring..M|
|000053c0| 6f 76 65 73 20 72 65 6c | 61 74 69 76 65 20 74 6f |oves rel|ative to|
|000053d0| 20 60 63 6f 6d 69 6e 74 | 2d 69 6e 70 75 74 2d 72 | `comint|-input-r|
|000053e0| 69 6e 67 2d 69 6e 64 65 | 78 27 2e 1f 0a 28 64 65 |ing-inde|x'...(de|
|000053f0| 66 61 6c 69 61 73 20 27 | 63 6f 6d 69 6e 74 2d 70 |falias '|comint-p|
|00005400| 72 65 76 69 6f 75 73 2d | 6d 61 74 63 68 69 6e 67 |revious-|matching|
|00005410| 2d 69 6e 70 75 74 2d 73 | 74 72 69 6e 67 20 23 5b |-input-s|tring #[|
|00005420| 28 72 65 67 65 78 70 20 | 61 72 67 29 20 22 c0 09 |(regexp |arg) "..|
|00005430| 5c 6e 5c 22 89 1b 85 0d | 00 c4 0d 0b 5c 22 29 87 |\n\"....|....\").|
|00005440| 22 20 5b 63 6f 6d 69 6e | 74 2d 70 72 65 76 69 6f |" [comin|t-previo|
|00005450| 75 73 2d 6d 61 74 63 68 | 69 6e 67 2d 69 6e 70 75 |us-match|ing-inpu|
|00005460| 74 2d 73 74 72 69 6e 67 | 2d 70 6f 73 69 74 69 6f |t-string|-positio|
|00005470| 6e 20 72 65 67 65 78 70 | 20 61 72 67 20 70 6f 73 |n regexp| arg pos|
|00005480| 20 72 69 6e 67 2d 72 65 | 66 20 63 6f 6d 69 6e 74 | ring-re|f comint|
|00005490| 2d 69 6e 70 75 74 2d 72 | 69 6e 67 5d 20 34 20 28 |-input-r|ing] 4 (|
|000054a0| 23 24 20 2e 20 32 31 33 | 37 32 29 5d 29 0a 23 40 |#$ . 213|72)]).#@|
|000054b0| 31 32 32 20 52 65 74 75 | 72 6e 20 74 68 65 20 69 |122 Retu|rn the i|
|000054c0| 6e 64 65 78 20 6d 61 74 | 63 68 69 6e 67 20 52 45 |ndex mat|ching RE|
|000054d0| 47 45 58 50 20 41 52 47 | 20 70 6c 61 63 65 73 20 |GEXP ARG| places |
|000054e0| 61 6c 6f 6e 67 20 74 68 | 65 20 69 6e 70 75 74 20 |along th|e input |
|000054f0| 72 69 6e 67 2e 0a 4d 6f | 76 65 73 20 72 65 6c 61 |ring..Mo|ves rela|
|00005500| 74 69 76 65 20 74 6f 20 | 53 54 41 52 54 2c 20 6f |tive to |START, o|
|00005510| 72 20 60 63 6f 6d 69 6e | 74 2d 69 6e 70 75 74 2d |r `comin|t-input-|
|00005520| 72 69 6e 67 2d 69 6e 64 | 65 78 27 2e 1f 0a 28 64 |ring-ind|ex'...(d|
|00005530| 65 66 61 6c 69 61 73 20 | 27 63 6f 6d 69 6e 74 2d |efalias |'comint-|
|00005540| 70 72 65 76 69 6f 75 73 | 2d 6d 61 74 63 68 69 6e |previous|-matchin|
|00005550| 67 2d 69 6e 70 75 74 2d | 73 74 72 69 6e 67 2d 70 |g-input-|string-p|
|00005560| 6f 73 69 74 69 6f 6e 20 | 23 5b 28 72 65 67 65 78 |osition |#[(regex|
|00005570| 70 20 61 72 67 20 26 6f | 70 74 69 6f 6e 61 6c 20 |p arg &o|ptional |
|00005580| 73 74 61 72 74 29 20 22 | c0 09 21 83 5c 66 00 c2 |start) "|..!.\f..|
|00005590| 09 21 83 10 00 c3 c4 21 | 88 c5 09 21 1e 06 0e 07 |.!.....!|...!....|
|000055a0| c8 56 83 20 00 c9 82 21 | 00 ca 1e 0b cc 0e 0d 86 |.V. ...!|........|
|000055b0| 2d 00 ce 0e 07 21 0e 0b | 5a 0e 06 5c 22 1e 0f d0 |-....!..|Z..\"...|
|000055c0| 1e 11 d0 1e 12 0e 07 c8 | 55 84 99 00 0e 11 84 99 |........|U.......|
|000055d0| 00 0e 0f 16 12 cc 0e 0f | 0e 0b 5c 5c 0e 06 5c 22 |........|..\\..\"|
|000055e0| 16 0f 0e 0f 0e 06 57 83 | 83 00 0e 11 84 83 00 d3 |......W.|........|
|000055f0| 0e 14 d5 09 0e 0f 5c 22 | 5c 22 84 83 00 cc 0e 0f |......\"|\"......|
|00005600| 0e 0b 5c 5c 0e 06 5c 22 | 89 16 0f 0e 12 55 16 11 |..\\..\"|.....U..|
|00005610| 82 56 00 0e 07 c8 56 83 | 90 00 0e 07 53 82 93 00 |.V....V.|....S...|
|00005620| 0e 07 54 89 16 07 82 3d | 00 d3 0e 14 d5 09 0e 0f |..T....=|........|
|00005630| 5c 22 5c 22 85 a7 00 0e | 0f 2d 87 22 20 5b 72 69 |\"\"....|.-." [ri|
|00005640| 6e 67 2d 70 20 63 6f 6d | 69 6e 74 2d 69 6e 70 75 |ng-p com|int-inpu|
|00005650| 74 2d 72 69 6e 67 20 72 | 69 6e 67 2d 65 6d 70 74 |t-ring r|ing-empt|
|00005660| 79 2d 70 20 65 72 72 6f | 72 20 22 4e 6f 20 68 69 |y-p erro|r "No hi|
|00005670| 73 74 6f 72 79 22 20 72 | 69 6e 67 2d 6c 65 6e 67 |story" r|ing-leng|
|00005680| 74 68 20 6c 65 6e 20 61 | 72 67 20 30 20 31 20 2d |th len a|rg 0 1 -|
|00005690| 31 20 6d 6f 74 69 6f 6e | 20 6d 6f 64 20 73 74 61 |1 motion| mod sta|
|000056a0| 72 74 20 63 6f 6d 69 6e | 74 2d 73 65 61 72 63 68 |rt comin|t-search|
|000056b0| 2d 73 74 61 72 74 20 6e | 20 6e 69 6c 20 74 72 69 |-start n| nil tri|
|000056c0| 65 64 2d 65 61 63 68 2d | 72 69 6e 67 2d 69 74 65 |ed-each-|ring-ite|
|000056d0| 6d 20 70 72 65 76 20 73 | 74 72 69 6e 67 2d 6d 61 |m prev s|tring-ma|
|000056e0| 74 63 68 20 72 65 67 65 | 78 70 20 72 69 6e 67 2d |tch rege|xp ring-|
|000056f0| 72 65 66 5d 20 36 20 28 | 23 24 20 2e 20 32 31 36 |ref] 6 (|#$ . 216|
|00005700| 38 34 29 5d 29 0a 23 40 | 32 31 38 20 53 65 61 72 |84)]).#@|218 Sear|
|00005710| 63 68 20 62 61 63 6b 77 | 61 72 64 73 20 74 68 72 |ch backw|ards thr|
|00005720| 6f 75 67 68 20 69 6e 70 | 75 74 20 68 69 73 74 6f |ough inp|ut histo|
|00005730| 72 79 20 66 6f 72 20 6d | 61 74 63 68 20 66 6f 72 |ry for m|atch for|
|00005740| 20 52 45 47 45 58 50 2e | 0a 28 50 72 65 76 69 6f | REGEXP.|.(Previo|
|00005750| 75 73 20 68 69 73 74 6f | 72 79 20 65 6c 65 6d 65 |us histo|ry eleme|
|00005760| 6e 74 73 20 61 72 65 20 | 65 61 72 6c 69 65 72 20 |nts are |earlier |
|00005770| 63 6f 6d 6d 61 6e 64 73 | 2e 29 0a 57 69 74 68 20 |commands|.).With |
|00005780| 70 72 65 66 69 78 20 61 | 72 67 75 6d 65 6e 74 20 |prefix a|rgument |
|00005790| 4e 2c 20 73 65 61 72 63 | 68 20 66 6f 72 20 4e 74 |N, searc|h for Nt|
|000057a0| 68 20 70 72 65 76 69 6f | 75 73 20 6d 61 74 63 68 |h previo|us match|
|000057b0| 2e 0a 49 66 20 4e 20 69 | 73 20 6e 65 67 61 74 69 |..If N i|s negati|
|000057c0| 76 65 2c 20 66 69 6e 64 | 20 74 68 65 20 6e 65 78 |ve, find| the nex|
|000057d0| 74 20 6f 72 20 4e 74 68 | 20 6e 65 78 74 20 6d 61 |t or Nth| next ma|
|000057e0| 74 63 68 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |tch...(d|efalias |
|000057f0| 27 63 6f 6d 69 6e 74 2d | 70 72 65 76 69 6f 75 73 |'comint-|previous|
|00005800| 2d 6d 61 74 63 68 69 6e | 67 2d 69 6e 70 75 74 20 |-matchin|g-input |
|00005810| 23 5b 28 72 65 67 65 78 | 70 20 61 72 67 29 20 22 |#[(regex|p arg) "|
|00005820| c0 09 21 11 c2 0b 09 5c | 22 89 1c 84 13 00 c5 c6 |..!....\|".......|
|00005830| 21 82 2a 00 5c 66 16 07 | c8 c9 5c 66 54 5c 22 88 |!.*.\f..|..\fT\".|
|00005840| ca cb 70 21 21 60 7c 88 | cc 0e 0d 5c 66 5c 22 63 |..p!!`|.|...\f\"c|
|00005850| 29 87 22 20 5b 63 6f 6d | 69 6e 74 2d 73 65 61 72 |)." [com|int-sear|
|00005860| 63 68 2d 61 72 67 20 61 | 72 67 20 63 6f 6d 69 6e |ch-arg a|rg comin|
|00005870| 74 2d 70 72 65 76 69 6f | 75 73 2d 6d 61 74 63 68 |t-previo|us-match|
|00005880| 69 6e 67 2d 69 6e 70 75 | 74 2d 73 74 72 69 6e 67 |ing-inpu|t-string|
|00005890| 2d 70 6f 73 69 74 69 6f | 6e 20 72 65 67 65 78 70 |-positio|n regexp|
|000058a0| 20 70 6f 73 20 65 72 72 | 6f 72 20 22 4e 6f 74 20 | pos err|or "Not |
|000058b0| 66 6f 75 6e 64 22 20 63 | 6f 6d 69 6e 74 2d 69 6e |found" c|omint-in|
|000058c0| 70 75 74 2d 72 69 6e 67 | 2d 69 6e 64 65 78 20 6d |put-ring|-index m|
|000058d0| 65 73 73 61 67 65 20 22 | 48 69 73 74 6f 72 79 20 |essage "|History |
|000058e0| 69 74 65 6d 3a 20 25 64 | 22 20 70 72 6f 63 65 73 |item: %d|" proces|
|000058f0| 73 2d 6d 61 72 6b 20 67 | 65 74 2d 62 75 66 66 65 |s-mark g|et-buffe|
|00005900| 72 2d 70 72 6f 63 65 73 | 73 20 72 69 6e 67 2d 72 |r-proces|s ring-r|
|00005910| 65 66 20 63 6f 6d 69 6e | 74 2d 69 6e 70 75 74 2d |ef comin|t-input-|
|00005920| 72 69 6e 67 5d 20 34 20 | 28 23 24 20 2e 20 32 32 |ring] 4 |(#$ . 22|
|00005930| 32 38 34 29 20 28 63 6f | 6d 69 6e 74 2d 72 65 67 |284) (co|mint-reg|
|00005940| 65 78 70 2d 61 72 67 20 | 22 50 72 65 76 69 6f 75 |exp-arg |"Previou|
|00005950| 73 20 69 6e 70 75 74 20 | 6d 61 74 63 68 69 6e 67 |s input |matching|
|00005960| 20 28 72 65 67 65 78 70 | 29 3a 20 22 29 5d 29 0a | (regexp|): ")]).|
|00005970| 23 40 32 32 37 20 53 65 | 61 72 63 68 20 66 6f 72 |#@227 Se|arch for|
|00005980| 77 61 72 64 73 20 74 68 | 72 6f 75 67 68 20 69 6e |wards th|rough in|
|00005990| 70 75 74 20 68 69 73 74 | 6f 72 79 20 66 6f 72 20 |put hist|ory for |
|000059a0| 6d 61 74 63 68 20 66 6f | 72 20 52 45 47 45 58 50 |match fo|r REGEXP|
|000059b0| 2e 0a 28 4c 61 74 65 72 | 20 68 69 73 74 6f 72 79 |..(Later| history|
|000059c0| 20 65 6c 65 6d 65 6e 74 | 73 20 61 72 65 20 6d 6f | element|s are mo|
|000059d0| 72 65 20 72 65 63 65 6e | 74 20 63 6f 6d 6d 61 6e |re recen|t comman|
|000059e0| 64 73 2e 29 0a 57 69 74 | 68 20 70 72 65 66 69 78 |ds.).Wit|h prefix|
|000059f0| 20 61 72 67 75 6d 65 6e | 74 20 4e 2c 20 73 65 61 | argumen|t N, sea|
|00005a00| 72 63 68 20 66 6f 72 20 | 4e 74 68 20 66 6f 6c 6c |rch for |Nth foll|
|00005a10| 6f 77 69 6e 67 20 6d 61 | 74 63 68 2e 0a 49 66 20 |owing ma|tch..If |
|00005a20| 4e 20 69 73 20 6e 65 67 | 61 74 69 76 65 2c 20 66 |N is neg|ative, f|
|00005a30| 69 6e 64 20 74 68 65 20 | 70 72 65 76 69 6f 75 73 |ind the |previous|
|00005a40| 20 6f 72 20 4e 74 68 20 | 70 72 65 76 69 6f 75 73 | or Nth |previous|
|00005a50| 20 6d 61 74 63 68 2e 1f | 0a 28 64 65 66 61 6c 69 | match..|.(defali|
|00005a60| 61 73 20 27 63 6f 6d 69 | 6e 74 2d 6e 65 78 74 2d |as 'comi|nt-next-|
|00005a70| 6d 61 74 63 68 69 6e 67 | 2d 69 6e 70 75 74 20 23 |matching|-input #|
|00005a80| 5b 28 72 65 67 65 78 70 | 20 61 72 67 29 20 22 c0 |[(regexp| arg) ".|
|00005a90| 09 5c 6e 5b 5c 22 87 22 | 20 5b 63 6f 6d 69 6e 74 |.\n[\"."| [comint|
|00005aa0| 2d 70 72 65 76 69 6f 75 | 73 2d 6d 61 74 63 68 69 |-previou|s-matchi|
|00005ab0| 6e 67 2d 69 6e 70 75 74 | 20 72 65 67 65 78 70 20 |ng-input| regexp |
|00005ac0| 61 72 67 5d 20 33 20 28 | 23 24 20 2e 20 32 32 39 |arg] 3 (|#$ . 229|
|00005ad0| 30 32 29 20 28 63 6f 6d | 69 6e 74 2d 72 65 67 65 |02) (com|int-rege|
|00005ae0| 78 70 2d 61 72 67 20 22 | 4e 65 78 74 20 69 6e 70 |xp-arg "|Next inp|
|00005af0| 75 74 20 6d 61 74 63 68 | 69 6e 67 20 28 72 65 67 |ut match|ing (reg|
|00005b00| 65 78 70 29 3a 20 22 29 | 5d 29 0a 23 40 32 33 38 |exp): ")|]).#@238|
|00005b10| 20 53 65 61 72 63 68 20 | 62 61 63 6b 77 61 72 64 | Search |backward|
|00005b20| 73 20 74 68 72 6f 75 67 | 68 20 69 6e 70 75 74 20 |s throug|h input |
|00005b30| 68 69 73 74 6f 72 79 20 | 66 6f 72 20 6d 61 74 63 |history |for matc|
|00005b40| 68 20 66 6f 72 20 63 75 | 72 72 65 6e 74 20 69 6e |h for cu|rrent in|
|00005b50| 70 75 74 2e 0a 28 50 72 | 65 76 69 6f 75 73 20 68 |put..(Pr|evious h|
|00005b60| 69 73 74 6f 72 79 20 65 | 6c 65 6d 65 6e 74 73 20 |istory e|lements |
|00005b70| 61 72 65 20 65 61 72 6c | 69 65 72 20 63 6f 6d 6d |are earl|ier comm|
|00005b80| 61 6e 64 73 2e 29 0a 57 | 69 74 68 20 70 72 65 66 |ands.).W|ith pref|
|00005b90| 69 78 20 61 72 67 75 6d | 65 6e 74 20 4e 2c 20 73 |ix argum|ent N, s|
|00005ba0| 65 61 72 63 68 20 66 6f | 72 20 4e 74 68 20 70 72 |earch fo|r Nth pr|
|00005bb0| 65 76 69 6f 75 73 20 6d | 61 74 63 68 2e 0a 49 66 |evious m|atch..If|
|00005bc0| 20 4e 20 69 73 20 6e 65 | 67 61 74 69 76 65 2c 20 | N is ne|gative, |
|00005bd0| 73 65 61 72 63 68 20 66 | 6f 72 77 61 72 64 73 20 |search f|orwards |
|00005be0| 66 6f 72 20 74 68 65 20 | 2d 4e 74 68 20 66 6f 6c |for the |-Nth fol|
|00005bf0| 6c 6f 77 69 6e 67 20 6d | 61 74 63 68 2e 1f 0a 28 |lowing m|atch...(|
|00005c00| 64 65 66 61 6c 69 61 73 | 20 27 63 6f 6d 69 6e 74 |defalias| 'comint|
|00005c10| 2d 70 72 65 76 69 6f 75 | 73 2d 6d 61 74 63 68 69 |-previou|s-matchi|
|00005c20| 6e 67 2d 69 6e 70 75 74 | 2d 66 72 6f 6d 2d 69 6e |ng-input|-from-in|
|00005c30| 70 75 74 20 23 5b 28 61 | 72 67 29 20 22 08 c1 3e |put #[(a|rg) "..>|
|00005c40| 84 11 00 c2 c3 70 21 21 | 60 7b 14 c5 16 06 c7 c8 |.....p!!|`{......|
|00005c50| c9 5c 66 21 50 0e 5c 6e | 5c 22 87 22 20 5b 6c 61 |.\f!P.\n|\"." [la|
|00005c60| 73 74 2d 63 6f 6d 6d 61 | 6e 64 20 28 63 6f 6d 69 |st-comma|nd (comi|
|00005c70| 6e 74 2d 70 72 65 76 69 | 6f 75 73 2d 6d 61 74 63 |nt-previ|ous-matc|
|00005c80| 68 69 6e 67 2d 69 6e 70 | 75 74 2d 66 72 6f 6d 2d |hing-inp|ut-from-|
|00005c90| 69 6e 70 75 74 20 63 6f | 6d 69 6e 74 2d 6e 65 78 |input co|mint-nex|
|00005ca0| 74 2d 6d 61 74 63 68 69 | 6e 67 2d 69 6e 70 75 74 |t-matchi|ng-input|
|00005cb0| 2d 66 72 6f 6d 2d 69 6e | 70 75 74 29 20 70 72 6f |-from-in|put) pro|
|00005cc0| 63 65 73 73 2d 6d 61 72 | 6b 20 67 65 74 2d 62 75 |cess-mar|k get-bu|
|00005cd0| 66 66 65 72 2d 70 72 6f | 63 65 73 73 20 63 6f 6d |ffer-pro|cess com|
|00005ce0| 69 6e 74 2d 6d 61 74 63 | 68 69 6e 67 2d 69 6e 70 |int-matc|hing-inp|
|00005cf0| 75 74 2d 66 72 6f 6d 2d | 69 6e 70 75 74 2d 73 74 |ut-from-|input-st|
|00005d00| 72 69 6e 67 20 6e 69 6c | 20 63 6f 6d 69 6e 74 2d |ring nil| comint-|
|00005d10| 69 6e 70 75 74 2d 72 69 | 6e 67 2d 69 6e 64 65 78 |input-ri|ng-index|
|00005d20| 20 63 6f 6d 69 6e 74 2d | 70 72 65 76 69 6f 75 73 | comint-|previous|
|00005d30| 2d 6d 61 74 63 68 69 6e | 67 2d 69 6e 70 75 74 20 |-matchin|g-input |
|00005d40| 22 5e 22 20 72 65 67 65 | 78 70 2d 71 75 6f 74 65 |"^" rege|xp-quote|
|00005d50| 20 61 72 67 5d 20 34 20 | 28 23 24 20 2e 20 32 33 | arg] 4 |(#$ . 23|
|00005d60| 33 31 33 29 20 22 70 22 | 5d 29 0a 23 40 32 34 33 |313) "p"|]).#@243|
|00005d70| 20 53 65 61 72 63 68 20 | 66 6f 72 77 61 72 64 73 | Search |forwards|
|00005d80| 20 74 68 72 6f 75 67 68 | 20 69 6e 70 75 74 20 68 | through| input h|
|00005d90| 69 73 74 6f 72 79 20 66 | 6f 72 20 6d 61 74 63 68 |istory f|or match|
|00005da0| 20 66 6f 72 20 63 75 72 | 72 65 6e 74 20 69 6e 70 | for cur|rent inp|
|00005db0| 75 74 2e 0a 28 46 6f 6c | 6c 6f 77 69 6e 67 20 68 |ut..(Fol|lowing h|
|00005dc0| 69 73 74 6f 72 79 20 65 | 6c 65 6d 65 6e 74 73 20 |istory e|lements |
|00005dd0| 61 72 65 20 6d 6f 72 65 | 20 72 65 63 65 6e 74 20 |are more| recent |
|00005de0| 63 6f 6d 6d 61 6e 64 73 | 2e 29 0a 57 69 74 68 20 |commands|.).With |
|00005df0| 70 72 65 66 69 78 20 61 | 72 67 75 6d 65 6e 74 20 |prefix a|rgument |
|00005e00| 4e 2c 20 73 65 61 72 63 | 68 20 66 6f 72 20 4e 74 |N, searc|h for Nt|
|00005e10| 68 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 6d 61 74 63 |h follow|ing matc|
|00005e20| 68 2e 0a 49 66 20 4e 20 | 69 73 20 6e 65 67 61 74 |h..If N |is negat|
|00005e30| 69 76 65 2c 20 73 65 61 | 72 63 68 20 62 61 63 6b |ive, sea|rch back|
|00005e40| 77 61 72 64 73 20 66 6f | 72 20 74 68 65 20 2d 4e |wards fo|r the -N|
|00005e50| 74 68 20 70 72 65 76 69 | 6f 75 73 20 6d 61 74 63 |th previ|ous matc|
|00005e60| 68 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 63 |h...(def|alias 'c|
|00005e70| 6f 6d 69 6e 74 2d 6e 65 | 78 74 2d 6d 61 74 63 68 |omint-ne|xt-match|
|00005e80| 69 6e 67 2d 69 6e 70 75 | 74 2d 66 72 6f 6d 2d 69 |ing-inpu|t-from-i|
|00005e90| 6e 70 75 74 20 23 5b 28 | 61 72 67 29 20 22 c0 09 |nput #[(|arg) "..|
|00005ea0| 5b 21 87 22 20 5b 63 6f | 6d 69 6e 74 2d 70 72 65 |[!." [co|mint-pre|
|00005eb0| 76 69 6f 75 73 2d 6d 61 | 74 63 68 69 6e 67 2d 69 |vious-ma|tching-i|
|00005ec0| 6e 70 75 74 2d 66 72 6f | 6d 2d 69 6e 70 75 74 20 |nput-fro|m-input |
|00005ed0| 61 72 67 5d 20 32 20 28 | 23 24 20 2e 20 32 33 39 |arg] 2 (|#$ . 239|
|00005ee0| 32 31 29 20 22 70 22 5d | 29 0a 23 40 36 38 31 20 |21) "p"]|).#@681 |
|00005ef0| 45 78 70 61 6e 64 20 69 | 6e 70 75 74 20 63 6f 6d |Expand i|nput com|
|00005f00| 6d 61 6e 64 20 68 69 73 | 74 6f 72 79 20 72 65 66 |mand his|tory ref|
|00005f10| 65 72 65 6e 63 65 73 20 | 62 65 66 6f 72 65 20 70 |erences |before p|
|00005f20| 6f 69 6e 74 2e 0a 45 78 | 70 61 6e 73 69 6f 6e 20 |oint..Ex|pansion |
|00005f30| 69 73 20 64 65 70 65 6e | 64 65 6e 74 20 6f 6e 20 |is depen|dent on |
|00005f40| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 20 60 63 6f |the valu|e of `co|
|00005f50| 6d 69 6e 74 2d 69 6e 70 | 75 74 2d 61 75 74 6f 65 |mint-inp|ut-autoe|
|00005f60| 78 70 61 6e 64 27 2e 0a | 0a 54 68 69 73 20 66 75 |xpand'..|.This fu|
|00005f70| 6e 63 74 69 6f 6e 20 64 | 65 70 65 6e 64 73 20 6f |nction d|epends o|
|00005f80| 6e 20 74 68 65 20 62 75 | 66 66 65 72 27 73 20 69 |n the bu|ffer's i|
|00005f90| 64 65 61 20 6f 66 20 74 | 68 65 20 69 6e 70 75 74 |dea of t|he input|
|00005fa0| 20 68 69 73 74 6f 72 79 | 2c 20 77 68 69 63 68 20 | history|, which |
|00005fb0| 6d 61 79 20 6e 6f 74 0a | 6d 61 74 63 68 20 74 68 |may not.|match th|
|00005fc0| 65 20 63 6f 6d 6d 61 6e | 64 20 69 6e 74 65 72 70 |e comman|d interp|
|00005fd0| 72 65 74 65 72 27 73 20 | 69 64 65 61 2c 20 61 73 |reter's |idea, as|
|00005fe0| 73 75 6d 69 6e 67 20 69 | 74 20 68 61 73 20 6f 6e |suming i|t has on|
|00005ff0| 65 2e 0a 0a 41 73 73 75 | 6d 65 73 20 68 69 73 74 |e...Assu|mes hist|
|00006000| 6f 72 79 20 73 79 6e 74 | 61 78 20 69 73 20 6c 69 |ory synt|ax is li|
|00006010| 6b 65 20 74 79 70 69 63 | 61 6c 20 55 6e 2a 78 20 |ke typic|al Un*x |
|00006020| 73 68 65 6c 6c 73 27 2e | 20 20 48 6f 77 65 76 65 |shells'.| Howeve|
|00006030| 72 2c 20 73 69 6e 63 65 | 20 65 6d 61 63 73 0a 63 |r, since| emacs.c|
|00006040| 61 6e 6e 6f 74 20 6b 6e | 6f 77 20 74 68 65 20 69 |annot kn|ow the i|
|00006050| 6e 74 65 72 70 72 65 74 | 65 72 27 73 20 69 64 65 |nterpret|er's ide|
|00006060| 61 20 6f 66 20 69 6e 70 | 75 74 20 6c 69 6e 65 20 |a of inp|ut line |
|00006070| 6e 75 6d 62 65 72 73 2c | 20 61 73 73 75 6d 69 6e |numbers,| assumin|
|00006080| 67 20 69 74 20 68 61 73 | 20 6f 6e 65 2c 0a 69 74 |g it has| one,.it|
|00006090| 20 63 61 6e 6e 6f 74 20 | 65 78 70 61 6e 64 20 61 | cannot |expand a|
|000060a0| 62 73 6f 6c 75 74 65 20 | 69 6e 70 75 74 20 6c 69 |bsolute |input li|
|000060b0| 6e 65 20 6e 75 6d 62 65 | 72 20 72 65 66 65 72 65 |ne numbe|r refere|
|000060c0| 6e 63 65 73 2e 0a 0a 49 | 66 20 74 68 65 20 6f 70 |nces...I|f the op|
|000060d0| 74 69 6f 6e 61 6c 20 61 | 72 67 75 6d 65 6e 74 20 |tional a|rgument |
|000060e0| 53 49 4c 45 4e 54 20 69 | 73 20 6e 6f 6e 2d 6e 69 |SILENT i|s non-ni|
|000060f0| 6c 2c 20 6e 65 76 65 72 | 20 63 6f 6d 70 6c 61 69 |l, never| complai|
|00006100| 6e 0a 65 76 65 6e 20 69 | 66 20 68 69 73 74 6f 72 |n.even i|f histor|
|00006110| 79 20 72 65 66 65 72 65 | 6e 63 65 20 73 65 65 6d |y refere|nce seem|
|00006120| 73 20 65 72 72 6f 6e 65 | 6f 75 73 2e 0a 0a 53 65 |s errone|ous...Se|
|00006130| 65 20 60 63 6f 6d 69 6e | 74 2d 6d 61 67 69 63 2d |e `comin|t-magic-|
|00006140| 73 70 61 63 65 27 20 61 | 6e 64 20 60 63 6f 6d 69 |space' a|nd `comi|
|00006150| 6e 74 2d 72 65 70 6c 61 | 63 65 2d 62 79 2d 65 78 |nt-repla|ce-by-ex|
|00006160| 70 61 6e 64 65 64 2d 68 | 69 73 74 6f 72 79 2d 62 |panded-h|istory-b|
|00006170| 65 66 6f 72 65 2d 70 6f | 69 6e 74 27 2e 0a 0a 52 |efore-po|int'...R|
|00006180| 65 74 75 72 6e 73 20 74 | 20 69 66 20 73 75 63 63 |eturns t| if succ|
|00006190| 65 73 73 66 75 6c 2e 1f | 0a 28 64 65 66 61 6c 69 |essful..|.(defali|
|000061a0| 61 73 20 27 63 6f 6d 69 | 6e 74 2d 72 65 70 6c 61 |as 'comi|nt-repla|
|000061b0| 63 65 2d 62 79 2d 65 78 | 70 61 6e 64 65 64 2d 68 |ce-by-ex|panded-h|
|000061c0| 69 73 74 6f 72 79 20 23 | 5b 28 26 6f 70 74 69 6f |istory #|[(&optio|
|000061d0| 6e 61 6c 20 73 69 6c 65 | 6e 74 29 20 22 08 85 2c |nal sile|nt) "..,|
|000061e0| 00 c1 c2 0b 20 5c 22 85 | 2c 00 8a c4 79 88 c5 0e |.... \".|,...y...|
|000061f0| 06 21 29 85 2c 00 c7 20 | 1e 08 c9 ca 21 88 cb 0e |.!).,.. |....!...|
|00006200| 5c 66 21 88 0e 08 c7 20 | 55 29 3f 87 22 20 5b 63 |\f!.... |U)?." [c|
|00006210| 6f 6d 69 6e 74 2d 69 6e | 70 75 74 2d 61 75 74 6f |omint-in|put-auto|
|00006220| 65 78 70 61 6e 64 20 73 | 74 72 69 6e 67 2d 6d 61 |expand s|tring-ma|
|00006230| 74 63 68 20 22 21 5c 5c | 7c 5e 5c 5c 5e 22 20 63 |tch "!\\||^\\^" c|
|00006240| 6f 6d 69 6e 74 2d 67 65 | 74 2d 6f 6c 64 2d 69 6e |omint-ge|t-old-in|
|00006250| 70 75 74 20 30 20 6c 6f | 6f 6b 69 6e 67 2d 61 74 |put 0 lo|oking-at|
|00006260| 20 63 6f 6d 69 6e 74 2d | 70 72 6f 6d 70 74 2d 72 | comint-|prompt-r|
|00006270| 65 67 65 78 70 20 62 75 | 66 66 65 72 2d 6d 6f 64 |egexp bu|ffer-mod|
|00006280| 69 66 69 65 64 2d 74 69 | 63 6b 20 70 72 65 76 69 |ified-ti|ck previ|
|00006290| 6f 75 73 2d 6d 6f 64 69 | 66 69 65 64 2d 74 69 63 |ous-modi|fied-tic|
|000062a0| 6b 20 6d 65 73 73 61 67 | 65 20 22 45 78 70 61 6e |k messag|e "Expan|
|000062b0| 64 69 6e 67 20 68 69 73 | 74 6f 72 79 20 72 65 66 |ding his|tory ref|
|000062c0| 65 72 65 6e 63 65 73 2e | 2e 2e 22 20 63 6f 6d 69 |erences.|.." comi|
|000062d0| 6e 74 2d 72 65 70 6c 61 | 63 65 2d 62 79 2d 65 78 |nt-repla|ce-by-ex|
|000062e0| 70 61 6e 64 65 64 2d 68 | 69 73 74 6f 72 79 2d 62 |panded-h|istory-b|
|000062f0| 65 66 6f 72 65 2d 70 6f | 69 6e 74 20 73 69 6c 65 |efore-po|int sile|
|00006300| 6e 74 5d 20 33 20 28 23 | 24 20 2e 20 32 34 33 30 |nt] 3 (#|$ . 2430|
|00006310| 34 29 20 6e 69 6c 5d 29 | 0a 23 40 31 31 36 20 45 |4) nil])|.#@116 E|
|00006320| 78 70 61 6e 64 20 64 69 | 72 65 63 74 6f 72 79 20 |xpand di|rectory |
|00006330| 73 74 61 63 6b 20 72 65 | 66 65 72 65 6e 63 65 20 |stack re|ference |
|00006340| 62 65 66 6f 72 65 20 70 | 6f 69 6e 74 2e 0a 53 65 |before p|oint..Se|
|00006350| 65 20 60 63 6f 6d 69 6e | 74 2d 72 65 70 6c 61 63 |e `comin|t-replac|
|00006360| 65 2d 62 79 2d 65 78 70 | 61 6e 64 65 64 2d 68 69 |e-by-exp|anded-hi|
|00006370| 73 74 6f 72 79 27 2e 20 | 20 52 65 74 75 72 6e 73 |story'. | Returns|
|00006380| 20 74 20 69 66 20 73 75 | 63 63 65 73 73 66 75 6c | t if su|ccessful|
|00006390| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 63 6f |...(defa|lias 'co|
|000063a0| 6d 69 6e 74 2d 72 65 70 | 6c 61 63 65 2d 62 79 2d |mint-rep|lace-by-|
|000063b0| 65 78 70 61 6e 64 65 64 | 2d 68 69 73 74 6f 72 79 |expanded|-history|
|000063c0| 2d 62 65 66 6f 72 65 2d | 70 6f 69 6e 74 20 23 5b |-before-|point #[|
|000063d0| 28 73 69 6c 65 6e 74 29 | 20 22 8a 8a c0 7f 88 60 |(silent)| ".....`|
|000063e0| 29 60 5a c1 c0 21 88 60 | 1a 1b c4 8a c0 7f 88 60 |)`Z..!.`|.......`|
|000063f0| 0b 5a 29 77 88 60 8a c0 | 7f 88 60 0b 5a 29 57 85 |.Z)w.`..|..`.Z)W.|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.